[all-commits] [llvm/llvm-project] bf48b1: [Symbolizer] Implement pc element in symbolizing f...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Mon Aug 8 11:09:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf48b128b02813e53e0c8f6585db837d14c9358f
      https://github.com/llvm/llvm-project/commit/bf48b128b02813e53e0c8f6585db837d14c9358f
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    M llvm/test/DebugInfo/symbolize-filter-markup-data.test
    A llvm/test/DebugInfo/symbolize-filter-markup-pc.test

  Log Message:
  -----------
  [Symbolizer] Implement pc element in symbolizing filter.

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.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D131115




More information about the All-commits mailing list