[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:51 PST 2025


================
@@ -2357,33 +2359,32 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
   }
 
   // Handle /entry and /dll
-  {
+  ctx.forEachSymtab([&](SymbolTable &symtab) {
     llvm::TimeTraceScope timeScope("Entry point");
----------------
mstorsjo wrote:

Hmm, how does this `TimeTraceScope` work if targeting arm64x so this is ran twice?

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


More information about the llvm-commits mailing list