[PATCH] D120430: [memprof] Symbolize and cache stack frames.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 27 16:25:40 PST 2022


davidxl added inline comments.


================
Comment at: llvm/lib/ProfileData/RawMemProfReader.cpp:355
   for (const uint64_t Address : CallStack) {
-    Expected<DIInliningInfo> DIOr = Symbolizer->symbolizeInlinedCode(
-        getModuleOffset(Address), Specifier, /*UseSymbolTable=*/false);
----------------
Using a map from addr to Frames for caching can also avoid redundant symbolization computation. Is there an advantage of doing eager symbolization?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120430



More information about the llvm-commits mailing list