1*9880d681SAndroid Build Coastguard Worker# FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt 2*9880d681SAndroid Build Coastguard Worker# libraries, it has to be compiled for all supported targets (x86_64, i386 etc). 3*9880d681SAndroid Build Coastguard Worker# This means that we need LLVM libraries to be compiled for these 4*9880d681SAndroid Build Coastguard Worker# targets as well. Currently, there is no support for such a build strategy. 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerset(LLVM_LINK_COMPONENTS 7*9880d681SAndroid Build Coastguard Worker DebugInfoDWARF 8*9880d681SAndroid Build Coastguard Worker DebugInfoPDB 9*9880d681SAndroid Build Coastguard Worker Object 10*9880d681SAndroid Build Coastguard Worker Support 11*9880d681SAndroid Build Coastguard Worker Symbolize 12*9880d681SAndroid Build Coastguard Worker ) 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Workeradd_llvm_tool(llvm-symbolizer 15*9880d681SAndroid Build Coastguard Worker llvm-symbolizer.cpp 16*9880d681SAndroid Build Coastguard Worker ) 17