[PATCH] D120860: [memprof] Filter out callstack frames which cannot be symbolized.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 17:51:04 PST 2022


snehasish created this revision.
snehasish added reviewers: tejohnson, davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: All.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch filters out callstack frames which can't be symbolized or if
the frames belong to the runtime. Symbolization may not be possible if
debug information is unavailable or if the addresses are from a shared
library. For now we only support optimization of the main binary which
is statically linked to the compiler runtime.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120860

Files:
  llvm/lib/ProfileData/RawMemProfReader.cpp
  llvm/test/tools/llvm-profdata/memprof-basic.test
  llvm/test/tools/llvm-profdata/memprof-multi.test
  llvm/unittests/ProfileData/MemProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120860.412581.patch
Type: text/x-patch
Size: 12915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220303/647bb803/attachment.bin>


More information about the llvm-commits mailing list