[PATCH] D159524: [BOLT] Speedup symbol table sort

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 00:59:37 PDT 2023


jobnoorman accepted this revision.
jobnoorman added inline comments.
This revision is now accepted and ready to land.


================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:820
+    if (isSymbolInMemory(Symbol))
+      SortedSymbols.push_back({cantFail(Symbol.getAddress()), Symbol});
+
----------------
`emplace_back`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159524/new/

https://reviews.llvm.org/D159524



More information about the llvm-commits mailing list