aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2023-04-21 15:31:21 +0300
committerMartin Storsjö <martin@martin.st>2023-04-21 15:46:19 +0300
commiteb56ef3edd9f1d21e625f0158dfc4edc48bd7349 (patch)
tree29a636c63322099679dcf8707ad1dd0f567467c6 /llvm/lib/Object/COFFObjectFile.cpp
parent9d7785b2e99548f3fde6fa030443a4d443dec647 (diff)
downloadllvm-eb56ef3edd9f1d21e625f0158dfc4edc48bd7349.zip
llvm-eb56ef3edd9f1d21e625f0158dfc4edc48bd7349.tar.gz
llvm-eb56ef3edd9f1d21e625f0158dfc4edc48bd7349.tar.bz2
[llvm-lib] Add support for ARM64EC libraries.
ARM64EC allows having both pure ARM64 objects and ARM64EC in the same archive. This allows using single static library for linking pure ARM64, pure ARM64EC or mixed modules (what MS calls ARM64X: a single module that may be used in both modes). To achieve that, such static libraries need two separated symbol maps. The usual map contains only pure ARM64 symbols, while a new /<ECSYMBOLS>/ section contains EC symbols. EC symbols map has very similar format to the usual map, except it doesn't contain object offsets and uses offsets from regular map instead. This is true even for pure ARM64EC static library: it will simply have 0 symbols in the symbol map. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D143541
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions