execute_process(COMMAND ${LLVM_CONFIG} --libs OUTPUT_VARIABLE LLVM_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${LLVM_CONFIG} --system-libs OUTPUT_VARIABLE LLVM_SYSTEM_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
-string(REPLACE -O2 '' LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -O2 "" LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -fno-exceptions "" LLVM_CFLAGS ${LLVM_CFLAGS})
separate_arguments(LLVM_CFLAGS)
add_definitions(${LLVM_CFLAGS})
SET(frida_SOURCES
src/main.cxx
+ src/core/InformationManager.cxx
src/gui/Mainwindow.cxx
src/gui/widgets/BasicBlockWidget.cxx
src/gui/widgets/CFGScene.cxx
)
SET(frida_HEADERS
src/include_llvm.hxx
+ src/core/InformationManager.hxx
src/gui/qt.hxx
src/gui/Mainwindow.hxx
src/gui/widgets/BasicBlockWidget.hxx