aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2022-09-15 08:34:35 -0400
committerJez Ng <jezng@fb.com>2022-09-15 08:35:24 -0400
commit5b8da10b87f7009c06215449e4a9c61dab91697a (patch)
tree5832b61cd71f15cc97f7e7dd3d04dad057999c6b /llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
parente488ce29ec5ead2d518c183890215313c9d1b1f0 (diff)
downloadllvm-5b8da10b87f7009c06215449e4a9c61dab91697a.zip
llvm-5b8da10b87f7009c06215449e4a9c61dab91697a.tar.gz
llvm-5b8da10b87f7009c06215449e4a9c61dab91697a.tar.bz2
[lld-macho] Add support for N_INDR symbols
This is similar to the `-alias` CLI option, but it gives finer-grained control in that it allows the aliased symbols to be treated as private externs. While working on this, I realized that our `-alias` handling did not cover the cases where the aliased symbol is a common or dylib symbol, nor the case where we have an undefined that gets treated specially and converted to a defined later on. My N_INDR handling neglects this too for now; I've added checks and TODO messages for these. `N_INDR` symbols cropped up as part of our attempt to link swift-stdlib. Reviewed By: #lld-macho, thakis, thevinster Differential Revision: https://reviews.llvm.org/D133825
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions