[PATCH] D115950: [llvm-profgen] Use shared string table for function name to save memory usage

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 11:10:26 PST 2021


wenlei added inline comments.


================
Comment at: llvm/lib/MC/MCPseudoProbe.cpp:354
 
+    auto It = FuncNameStrings.insert(Name.str());
     // Initialize PseudoProbeFuncDesc and populate it into GUID2FuncDescMap
----------------
Just double checking, so the underlying data for probe section is freed after decoding? Where does that happen? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115950



More information about the llvm-commits mailing list