[PATCH] D131179: [StripDeadDebugInfo] Drop dead CUs for const global expression
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 17:13:39 PDT 2023
aprantl added a comment.
I think your example makes perfect sense, but it sounds like this should be a feature that only `llvm-extract` or whatever tool you are using in the described workflow should enable. Generally you don't want "dead" constant's debug info stripped in a normal compilation because you still want to be able to see these constants in the debugger. In your workflow the compiler has special knowledge that this debug info will be available externally, so it makes sense there.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131179/new/
https://reviews.llvm.org/D131179
More information about the llvm-commits
mailing list