diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-01-13 11:39:12 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-01-13 11:57:33 -0500 |
commit | 4746e38f67a98344011e0c615a9b4c7c2f223d4e (patch) | |
tree | 51543d23873a372a315b0c0683ce2b7247a86726 /llvm/lib/Object/TapiFile.cpp | |
parent | bf7d9970ba0ac5ecfa1a469086f5789de5c94e3f (diff) | |
download | llvm-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