[llvm] [BOLT] Use symbol table info in registerFragment (PR #89648)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 12:06:12 PDT 2024


================
@@ -490,6 +490,9 @@ class RewriteInstance {
   /// Store all non-zero symbols in this map for a quick address lookup.
   std::map<uint64_t, llvm::object::SymbolRef> FileSymRefs;
 
+  /// FILE symbols.
+  std::vector<object::DataRefImpl> FileSymbols;
----------------
dcci wrote:

This comment is perfunctory. You might want to consider making it more explicit or just remove it altogether.

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


More information about the llvm-commits mailing list