aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKevin Sala <kevin.sala@bsc.es>2022-11-23 22:15:14 +0100
committerKevin Sala <kevin.sala@bsc.es>2022-12-03 21:51:09 +0100
commit4fde81679c78ef1956840e7689bc8415b72292f1 (patch)
tree22125809deddb6a8269b0f89043a70c133c14b42 /llvm/lib/Object/MachOObjectFile.cpp
parent9114ce4d1da94da82e1528cd0fa0500c14169c8e (diff)
downloadllvm-4fde81679c78ef1956840e7689bc8415b72292f1.zip
llvm-4fde81679c78ef1956840e7689bc8415b72292f1.tar.gz
llvm-4fde81679c78ef1956840e7689bc8415b72292f1.tar.bz2
[OpenMP][libomptarget] Allow overriding function that gets ELF symbol info
The OpenMP target's NextGen plugins retrieve symbol information in the ELF image (i.e., address and size) through the ELF section and ELF symbol objects. However, the images of CUDA programs compute the address differently from the images of AMDGPU programs: - Address for CUDA symbols: image begin + section's offset + symbol's st_value - Address for AMDGPU symbols: image + begin + symbol's st_value Differential Revision: https://reviews.llvm.org/D138604
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions