[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / opt / CMakeLists.txt
blob19c85768fec44b06ef42cff4a6a225b12ea0ce1b
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmParsers
3   AllTargetsCodeGens
4   AllTargetsDescs
5   AllTargetsInfos
6   AggressiveInstCombine
7   Analysis
8   AsmParser
9   BitWriter
10   CodeGen
11   Core
12   Coroutines
13   Extensions
14   IPO
15   IRReader
16   InstCombine
17   Instrumentation
18   MC
19   ObjCARCOpts
20   Remarks
21   ScalarOpts
22   Support
23   Target
24   TransformUtils
25   Vectorize
26   Passes
27   )
29 add_llvm_tool(opt
30   AnalysisWrappers.cpp
31   BreakpointPrinter.cpp
32   GraphPrinters.cpp
33   NewPMDriver.cpp
34   PassPrinters.cpp
35   PrintSCC.cpp
36   opt.cpp
38   DEPENDS
39   intrinsics_gen
40   SUPPORT_PLUGINS
41   )
42 export_executable_symbols_for_plugins(opt)
44 if(LLVM_BUILD_EXAMPLES)
45     target_link_libraries(opt PRIVATE ExampleIRTransforms)
46 endif(LLVM_BUILD_EXAMPLES)