[PATCH] D79866: [CUDA][HIP] Do not emit debug info for stub function
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 13 11:58:06 PDT 2020
tra added a comment.
In D79866#2034683 <https://reviews.llvm.org/D79866#2034683>, @yaxunl wrote:
> can you try set bp by using file name and line number on the kernel?
In regular gdb it is set on the stub.
In cuda-gdb the behavior is interesting -- it initially gets set and breaks on the stub, but it also breaks on the entry into kernel. Once the kernel address is known, cuda-gdb no longer breaks on the stub. If I set breakpoint after the kernel is known, it's set on the kernel only and never stops on stub.
Overall the behavior is reasonable, IMO.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79866/new/
https://reviews.llvm.org/D79866
More information about the cfe-commits
mailing list