[PATCH] D92844: [gn build] Link with -Wl,--gdb-index
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 9 08:44:46 PST 2020
aeubanks added a comment.
>> 15% slower links seems noticeable. I'd prefer putting this behind a flag (can default to `is_debug` if you really want). I think putting all optional compiler/linker command line flags behind gn args makes sense.
>
> You're setting `is_debug=true` but you don't run the binary under gdb? If so, wy do you set `is_debug=true`? For stacks with line numbers?
Yup
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92844/new/
https://reviews.llvm.org/D92844
More information about the llvm-commits
mailing list