diff options
author | Jacek Caban <jacek@codeweavers.com> | 2024-02-10 01:00:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 01:00:14 +0100 |
commit | 8f23464a5d957242c89ca6f33d4379c42519cd81 (patch) | |
tree | 4faf017678def90c7fa4723318033c160de452e7 /llvm/tools | |
parent | 8509f75d618a41b946391a73cdbfee53565fbf85 (diff) | |
download | llvm-8f23464a5d957242c89ca6f33d4379c42519cd81.zip llvm-8f23464a5d957242c89ca6f33d4379c42519cd81.tar.gz llvm-8f23464a5d957242c89ca6f33d4379c42519cd81.tar.bz2 |
[llvm-lib][llvm-dlltool][Object] Add support for EXPORTAS name types. (#78772)
EXPORTAS is a new name type in import libraries. It's used by default on ARM64EC,
but it's allowed on other platforms as well.
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvm-readobj/COFFImportDumper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-readobj/COFFImportDumper.cpp b/llvm/tools/llvm-readobj/COFFImportDumper.cpp index 656ca32..0ab2a17 100644 --- a/llvm/tools/llvm-readobj/COFFImportDumper.cpp +++ b/llvm/tools/llvm-readobj/COFFImportDumper.cpp @@ -45,6 +45,9 @@ void dumpCOFFImportFile(const COFFImportFile *File, ScopedPrinter &Writer) { case COFF::IMPORT_NAME_UNDECORATE: Writer.printString("Name type", "undecorate"); break; + case COFF::IMPORT_NAME_EXPORTAS: + Writer.printString("Name type", "export as"); + break; } if (H->getNameType() != COFF::IMPORT_ORDINAL) |