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

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 02:48:49 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")
----------------
mstorsjo wrote:

Will the section name always have the `$x` suffix, or should we have something like `name.substr(0, name.find('$')) == ".hybmp"`?

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


More information about the llvm-commits mailing list