[PATCH] D93502: DebugInfo: Make -no-dwarf-ranges-section just emit no address range rather than a bogus/partial one

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 18:31:21 PST 2020


dblaikie abandoned this revision.
dblaikie added a comment.

In D93502#2463937 <https://reviews.llvm.org/D93502#2463937>, @ABataev wrote:

> In D93502#2463936 <https://reviews.llvm.org/D93502#2463936>, @dblaikie wrote:
>
>> In D93502#2463383 <https://reviews.llvm.org/D93502#2463383>, @ABataev wrote:
>>
>>> What I saw with the nvcc that it generated the debug info just like in the tests before. So, I just tried to mimic this behavior, since ptxas is very fragile and can be broken very easily. I would try to test it using ptxas/cuda-gdb to check that it does not break anything.
>>
>> Oh, huh - interesting. Is it possible for me to reproduce/play around with this behavior in some way? (I've never used nvcc, not sure where to download/install it from, etc)
>
> You need a system with NVidia GPU to test cuda-gdb. I think you can get nvcc here https://developer.nvidia.com/cuda-downloads. I suggest to try some older versions, like 9 or 10, since some of the users can still use it.

Hmm - that might be beyond me, but if you had a chance to provide some more specific details/a recipe for this, I'd love to poke it further.

For now I think I'll abandon this change - I'd hoped it'd make another change a bit tidier, but it's not a huge deal/just a rather complicated `if` condition, not worth too much work on this side.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93502



More information about the llvm-commits mailing list