Mercurial > hg > CbC > CbC_llvm
view tools/llvm-c-test/CMakeLists.txt @ 65:35ab9e3560be
remove null pointer access bug which occured if the callee codesegment is accessed by pointer on LowerCallTo().
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 11 Feb 2014 02:09:46 +0900 |
parents | e4204d083e25 |
children | 54457678186b |
line wrap: on
line source
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} BitReader Core MCDisassembler Object Target ) if (LLVM_COMPILER_IS_GCC_COMPATIBLE) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wstrict-prototypes") endif () add_llvm_tool(llvm-c-test calc.c disassemble.c helpers.c include-all.c main.c module.c object.c targets.c )