[gn build] (manually) merge 593e1962

This commit is contained in:
Nico Weber 2020-08-04 13:04:53 -04:00
parent 83cb98f9e7
commit 6a4fd03698
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,12 @@
import("//llvm/tools/binutils_symlinks.gni")
import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
tablegen("Opts") {
visibility = [ ":llvm-symbolizer" ]
args = [ "-gen-opt-parser-defs" ]
}
symlinks = [ "llvm-addr2line" ]
if (llvm_install_binutils_symlinks) {
symlinks += [ "addr2line" ]
@ -23,11 +29,13 @@ group("symlinks") {
executable("llvm-symbolizer") {
deps = [
":Opts",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/DebugInfo/PDB",
"//llvm/lib/DebugInfo/Symbolize",
"//llvm/lib/Demangle",
"//llvm/lib/Object",
"//llvm/lib/Option",
"//llvm/lib/Support",
]
sources = [ "llvm-symbolizer.cpp" ]