File tree 4 files changed +3
-3
lines changed
4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ config("compiler_defaults") {
63
63
asmflags = target_flags
64
64
cflags = target_flags
65
65
cflags_cc = []
66
- ldflags = target_flags + target_ldflags
66
+ ldflags = target_flags + target_ldflags + [ " -Wl,--gdb-index " ]
67
67
68
68
# Mostly for compiler-rt, see compiler-rt/cmake/config-ix.cmake
69
69
if (current_os == " ios" ) {
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ template("unix_toolchain") {
175
175
unix_toolchain (" unix" ) {
176
176
if (current_os != " ios" && current_os != " mac" ) {
177
177
if (clang_base_path != " " ) {
178
- ar = rebase_path (clang_base_path , root_build_dir ) + " /bin/llvm- ar"
178
+ ar = rebase_path (clang_base_path , root_build_dir ) + " /bin/ar"
179
179
} else {
180
180
ar = " ar"
181
181
}
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ write_lit_config("lit_site_cfg") {
35
35
" CURRENT_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
36
36
" CLANG_PLUGIN_SUPPORT=0" ,
37
37
" LLVM_HOST_TRIPLE=$llvm_current_triple " ,
38
- " LLVM_INSTALL_TOOLCHAIN_ONLY=0" ,
39
38
" LLVM_LIT_TOOLS_DIR=" , # Intentionally empty, matches cmake build.
40
39
" LLVM_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
41
40
" Python3_EXECUTABLE=$python_path " ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ static_library("MCA") {
5
5
" //llvm/lib/MC" ,
6
6
" //llvm/lib/Support" ,
7
7
]
8
+ cflags_cc = [" -ggdb3" , " -ggnu-pubnames" , " -gdwarf-4" ]
8
9
include_dirs = [ " ../include" ]
9
10
sources = [
10
11
" CodeEmitter.cpp" ,
You can’t perform that action at this time.
0 commit comments