Home | History | Annotate | Download | only in llvm-symbolizer
      1 # FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt
      2 # libraries, 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 
      6 set(LLVM_LINK_COMPONENTS
      7   DebugInfoDWARF
      8   DebugInfoPDB
      9   Demangle
     10   Object
     11   Support
     12   Symbolize
     13   )
     14 
     15 add_llvm_tool(llvm-symbolizer
     16   llvm-symbolizer.cpp
     17   )
     18 
     19 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
     20   add_llvm_tool_symlink(addr2line llvm-symbolizer)
     21 endif()
     22