[PATCH] D94123: [NVPTX] Strip debugging symbols for optimized NVPTX targets.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 16:49:55 PST 2021
tra added a comment.
In D94123#2480848 <https://reviews.llvm.org/D94123#2480848>, @jhuber6 wrote:
> Okay, so without that flag Clang will not create debug symbols in the PTX assembly output.
Only if optimizations are enabled. W/o optimization, full debug info will be there.
`--cuda-noopt-device-debug` re-enables full debug info but tells ptxas to expect it (and that requires disabling ptxas optimizations)
E.g. https://godbolt.org/z/1jPcnd
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94123/new/
https://reviews.llvm.org/D94123
More information about the llvm-commits
mailing list