[PATCH] D68556: Document `LLVM_USE_SPLIT_DWARF` option

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 15:57:42 PDT 2019


dblaikie added a comment.

FWIW, the current support is incomplete - if you just turn on -gsplit-dwarf, gdb may misbehave owing to a lack of index. (you'd need to add -Wl,-gdb-index to CMAKE_*_LINKER_FLAGS)

Arguably we could/should fix LLVM itself to pass that flag when using -gsplit-dwarf while tuning for gdb and/or improve the LLVM CMake build to add the flag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68556





More information about the llvm-commits mailing list