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

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 17:21:45 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");
----------------
cjacek wrote:

I think it will sum up times from each execution [here](https://github.com/llvm/llvm-project/blob/c805df69994a1f1e8f095b690c9af9e9c463906b/llvm/lib/Support/TimeProfiler.cpp#L205). I will keep the extra scope if you prefer.

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


More information about the llvm-commits mailing list