[PATCH] D88196: [DEBUGINFO, NVPTX] Removed Label Arithmetic from DWARF Pub Sections for NVPTX

Julia Tatz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 14:17:33 PDT 2020


jdtatz marked an inline comment as done.
jdtatz added a comment.

In D88196#2314796 <https://reviews.llvm.org/D88196#2314796>, @ABataev wrote:

> Did you check if ptxas can process it correctly? Are there any problems with it? I did not see that nvcc generates these sections at all.

It can and you can check with `ptxas $PTX_FILE -o $OUT && llvm-dwarfdump $OUT -debug-pubnames`
To get nvcc to generate it you can use the example in their ptx interop guide, but you must pass the `--device-debug` / `-G` flag to nvcc for it to generate the "debug_pubnames" section.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88196



More information about the llvm-commits mailing list