[PATCH] D92844: [gn build] Link with -Wl,--gdb-index

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 15:00:25 PST 2020


aeubanks added a comment.

I'm confused on the term "release build". I typically use `is_optimized = true` and `is_debug = true` to get reasonably fast binaries but with backtraces for crashes (I work with a lot of crashes). Which `= false` does a "release build" refer to?

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.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92844/new/

https://reviews.llvm.org/D92844



More information about the llvm-commits mailing list