llvm-6502/tools/llvm-symbolizer/CMakeLists.txt

15 lines
423 B
CMake

# FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt
# libraries, it has to be compiled for all supported targets (x86_64, i386 etc).
# This means that we need LLVM libraries to be compiled for these
# targets as well. Currently, there is no support for such a build strategy.
set(LLVM_LINK_COMPONENTS
DebugInfo
Object
)
add_llvm_tool(llvm-symbolizer
LLVMSymbolize.cpp
llvm-symbolizer.cpp
)