aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/TapiFile.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-01-13 11:39:12 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2022-01-13 11:57:33 -0500
commit4746e38f67a98344011e0c615a9b4c7c2f223d4e (patch)
tree51543d23873a372a315b0c0683ce2b7247a86726 /llvm/lib/Object/TapiFile.cpp
parentbf7d9970ba0ac5ecfa1a469086f5789de5c94e3f (diff)
downloadllvm-4746e38f67a98344011e0c615a9b4c7c2f223d4e.zip
llvm-4746e38f67a98344011e0c615a9b4c7c2f223d4e.tar.gz
llvm-4746e38f67a98344011e0c615a9b4c7c2f223d4e.tar.bz2
[Libomptarget] Fix multiply defined symbol during linking
This patch adds the `weak` identifier to the openmp device environment variable. The changes introduced in https://reviews.llvm.org/D117211 result in multiply defined symbols. Because the symbol is potentially included multiple times for each offloading file we will get symbol colisions, and because it needs to have external visiblity it should be weak. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D117231
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions