[PATCH] D58628: [cmake] Add option to enable gdb-index.
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 12:43:53 PST 2019
smeenai added a comment.
LLD supports --gdb-index as well.
I think you also want to add -ggnu-pubnames to your compile flags if you're doing this. gold supports building a GDB index without that extra debug info being present, but in my experience it doesn't work as reliably and is way slower. LLD doesn't support building a GDB index without that debug info yet; D54497 <https://reviews.llvm.org/D54497> adds some support for that, but that's pending a bunch of review discussion.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58628/new/
https://reviews.llvm.org/D58628
More information about the llvm-commits
mailing list