summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2019-02-14 02:00:09 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2019-02-14 02:00:09 +0000
commitc18e9ecd4fc1f8bce7cf1ad0a63cb64a3fc40040 (patch)
tree7587a4dc5e7e28987dd81c73da25540c776cb260 /lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
parent1d158dd9301a0622b152b23b97e7ded56caf552f (diff)
downloadbcm5719-llvm-c18e9ecd4fc1f8bce7cf1ad0a63cb64a3fc40040.tar.gz
bcm5719-llvm-c18e9ecd4fc1f8bce7cf1ad0a63cb64a3fc40040.zip
[CUDA][HIP] Use device side kernel and variable names when registering them
__hipRegisterFunction and __hipRegisterVar need to accept device side kernel and variable names so that HIP runtime can associate kernel stub functions in host code with kernel symbols in fat binaries, and associate shadow variables in host code with device variables in fat binaries. Currently, clang assumes kernel functions and device variables have the same name as the kernel stub functions and shadow variables. However, when host is compiled in windows with MSVC C++ ABI and device is compiled with Itanium C++ ABI (e.g. AMDGPU), kernels and device symbols in fat binary are mangled differently than host. This patch gets the device side kernel and variable name by mangling them in the mangle context of aux target. Differential Revision: https://reviews.llvm.org/D58163 llvm-svn: 354004
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud