aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2024-11-19 14:32:39 +0100
committerGitHub <noreply@github.com>2024-11-19 14:32:39 +0100
commit4728ac750295af12ba484ef4b7df4f7c4893eb4c (patch)
treef9ea641ab00ec0443286e25b62d3e4f919b56500 /clang/lib/CodeGen/CodeGenModule.cpp
parent681939e1545193b428a5f59175017c1c3741ea32 (diff)
downloadllvm-4728ac750295af12ba484ef4b7df4f7c4893eb4c.zip
llvm-4728ac750295af12ba484ef4b7df4f7c4893eb4c.tar.gz
llvm-4728ac750295af12ba484ef4b7df4f7c4893eb4c.tar.bz2
[LLD][COFF][NFC] Always align null chunks (#116677)
Currently, null chunks always follow other aligned chunks, so this patch is NFC. However, it will become observable once support for ARM64X imports is added. The import tables are shared between the native and EC views. They are usually very similar, but in cases where they differ, ARM64X relocations handle the discrepancies. If a DLL is only imported by EC code, the native view will see it as importing zero functions from this DLL (with ARM64X relocations replacing those null chunks with actual imports). In this scenario, the null chunks may appear as the very first chunks, meaning there is nothing else forcing their alignment.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions