[lld] [llvm] [LLD][COFF] Add support for ARM64EC entry thunks. (PR #88132)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 08:22:42 PDT 2024


================
@@ -260,6 +297,8 @@ SectionChunk *ObjFile::readSection(uint32_t sectionNumber,
     guardEHContChunks.push_back(c);
   else if (name == ".sxdata")
     sxDataChunks.push_back(c);
+  else if (isArm64EC(getMachineType()) && name == ".hybmp$x")
+    hybmpChunks.push_back(c);
----------------
cjacek wrote:

Yes, there is no reason for them to be in the output file. Entry thunks are looked up from the offset in padding in runtime. Later, the linker will need exit thunk association for generating import thunks, but once the image is linked, there is no need for such map.

https://github.com/llvm/llvm-project/pull/88132


More information about the llvm-commits mailing list