[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / lli / CMakeLists.txt
blob90797ccccf02be7ef867db3bde85b3278123c2cf
1 if ( LLVM_INCLUDE_UTILS )
2   add_subdirectory(ChildTarget)
3 endif()
5 set(LLVM_LINK_COMPONENTS
6   CodeGen
7   Core
8   ExecutionEngine
9   IRReader
10   Interpreter
11   JITLink
12   MC
13   MCJIT
14   Object
15   OrcShared
16   OrcJIT
17   OrcTargetProcess
18   Passes
19   RuntimeDyld
20   SelectionDAG
21   Support
22   Target
23   TransformUtils
24   native
25   )
27 if( LLVM_USE_OPROFILE )
28   set(LLVM_LINK_COMPONENTS
29     ${LLVM_LINK_COMPONENTS}
30     OProfileJIT
31     )
32 endif( LLVM_USE_OPROFILE )
34 if( LLVM_USE_INTEL_JITEVENTS )
35   set(LLVM_LINK_COMPONENTS
36     ${LLVM_LINK_COMPONENTS}
37     DebugInfoDWARF
38     IntelJITEvents
39     Object
40     )
41 endif( LLVM_USE_INTEL_JITEVENTS )
43 if( LLVM_USE_PERF )
44   set(LLVM_LINK_COMPONENTS
45     ${LLVM_LINK_COMPONENTS}
46     DebugInfoDWARF
47     PerfJITEvents
48     Object
49     )
50 endif( LLVM_USE_PERF )
52 add_llvm_tool(lli
53   lli.cpp
54   ExecutionUtils.cpp
56   DEPENDS
57   intrinsics_gen
58   )
60 export_executable_symbols(lli)