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

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 01:29:56 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:

Nah, if it works as expected while entering the same `TimeTraceScope` multiple times, it's totally fine for me to keep it like this, avoiding another indentation level.

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


More information about the llvm-commits mailing list