summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2018-08-17 17:47:31 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2018-08-17 17:47:31 +0000
commit94ff57f5b182e7978dce94d83310ecfac2445abb (patch)
tree61d55fe5c955a053cb55d815575982a727611e77 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent2784a339abc5537326a15613bd2de40a577d5ccf (diff)
downloadbcm5719-llvm-94ff57f5b182e7978dce94d83310ecfac2445abb.tar.gz
bcm5719-llvm-94ff57f5b182e7978dce94d83310ecfac2445abb.zip
[HIP] Make __hip_gpubin_handle hidden to avoid being merged across different shared libraries
Different shared libraries contain different fat binary, which is stored in a global variable __hip_gpubin_handle. Since different compilation units share the same fat binary, this variable has linkonce linkage. However, it should not be merged across different shared libraries. This patch set the visibility of the global variable to be hidden, which will make it invisible in the shared library, therefore preventing it from being merged. Differential Revision: https://reviews.llvm.org/D50596 llvm-svn: 340056
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud