Commit 0db7e18
committed
bazel: compress DWARF debug sections in asan/profile configs
The default bazel build is -c opt with no -g, so it carries no debug
info. The asan and profile configs add -g (and keep symbols via
--strip=never), so their binaries carry DWARF that benefits from
compression, mirroring the CMake -gz change.
Add -gz=zlib (compile + link) to the asan and profile configs. It is
transparent to gdb/perf/addr2line.
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>1 parent 78f043d commit 0db7e18
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
0 commit comments