[PATCH] D93502: DebugInfo: Make -no-dwarf-ranges-section just emit no address range rather than a bogus/partial one
    Alexey Bataev via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Dec 18 13:48:25 PST 2020
    
    
  
ABataev added a comment.
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.
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