[lld] [LLD][COFF] Add support for hybrid ARM64X entry points (PR #123096)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 14:29:52 PST 2025


================
@@ -2584,6 +2586,16 @@ void Writer::createDynamicRelocs() {
                          coffHeaderOffset + offsetof(coff_file_header, Machine),
                          AMD64);
 
+  if (ctx.symtab.entry || ctx.hybridSymtab->entry) {
----------------
mstorsjo wrote:

Technically, a different way of expressing this condition would be `if (ctx.symtab.entry != ctx.hybridSymtab->entry)`, right? (Not a strong opinion though.)

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


More information about the llvm-commits mailing list