diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-17 02:25:55 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-17 02:25:55 +0000 |
commit | d692dfb65e92095d7bdab32543cb967f08fe7745 (patch) | |
tree | a37acc3f90913969d750ef096c8773ed3603d5b9 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py | |
parent | 715ad7fef5d42a2ab001a2528027a3aa741f5b7c (diff) | |
download | bcm5719-llvm-d692dfb65e92095d7bdab32543cb967f08fe7745.tar.gz bcm5719-llvm-d692dfb65e92095d7bdab32543cb967f08fe7745.zip |
[CUDA] Fix false-positive in known-emitted handling.
Previously: When compiling for host, our constructed call graph went
*through* kernel calls. This meant that if we had
host calls kernel calls HD
we would incorrectly mark the HD function as known-emitted on the host
side, and thus perform host-side checks on it.
Fixing this exposed another issue, wherein when marking a function as
known-emitted, we also need to traverse the callgraph of its template,
because non-dependent calls are attached to a function's template, not
its instantiation.
llvm-svn: 284355
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions