2012-11-12 12:33:29 +01:00
|
|
|
# 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
|
2015-01-30 19:07:45 +01:00
|
|
|
DebugInfoDWARF
|
2015-04-27 19:19:51 +02:00
|
|
|
DebugInfoPDB
|
2018-03-08 00:07:34 +01:00
|
|
|
Demangle
|
2012-11-12 12:33:29 +01:00
|
|
|
Object
|
2013-12-10 12:13:32 +01:00
|
|
|
Support
|
2015-10-26 18:56:12 +01:00
|
|
|
Symbolize
|
2012-11-12 12:33:29 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_tool(llvm-symbolizer
|
|
|
|
llvm-symbolizer.cpp
|
|
|
|
)
|
2017-11-02 22:43:32 +01:00
|
|
|
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
|
|
add_llvm_tool_symlink(addr2line llvm-symbolizer)
|
|
|
|
endif()
|