[PATCH] D131115: [Symbolizer] Implement pc element in symbolizing filter.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 14:30:26 PDT 2022


mysterymath created this revision.
mysterymath added reviewers: peter.smith, phosek, mcgrathr, jhenderson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

Implements the pc element for the symbolizing filter, including it's
"ra" and "pc" modes. Return addresses ("ra") are adjusted by
decrementing one. By default, {{{pc}}} elements are assumed to point to
precise code ("pc") locations. Backtrace elements will adopt the
opposite convention.

Along the way, some minor refactors of value printing and colorization.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131115

Files:
  llvm/docs/CommandGuide/llvm-symbolizer.rst
  llvm/docs/SymbolizerMarkupFormat.rst
  llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
  llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
  llvm/test/DebugInfo/symbolize-filter-markup-pc.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131115.449788.patch
Type: text/x-patch
Size: 17077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220803/a7416668/attachment.bin>


More information about the llvm-commits mailing list