• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# FIXME: As we plan to execute llvm-symbolizer binary from Sanitizer
2# runtime, it has to be compiled for all supported targets (x86_64, i386 etc).
3# This means that we need LLVM libraries to be compiled for these
4# targets as well. Currently, there is no support for such a build strategy.
5
6set(LLVM_LINK_COMPONENTS
7  DebugInfo
8  Object
9  )
10
11add_llvm_tool(llvm-symbolizer
12  llvm-symbolizer.cpp
13  )
14
15# FIXME: Set sane output directory for llvm-symbolizer
16set_target_properties(llvm-symbolizer PROPERTIES
17  RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
18