[PATCH] D146854: [Symbolizer] Add flag to dump symbolizer markup context JSON.
Daniel Thornburgh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 24 16:42:49 PDT 2023
mysterymath created this revision.
mysterymath added reviewers: mcgrathr, phosek.
Herald added a subscriber: hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
This creates a simple JSON format for representing the contexts
encountered by the markup filter and a flag, --dump-context, for
exporting it. Using this flag suppresses the usual symbolized log output
and instead emits this JSON. This provides a machine-readable
representation of the layouts of the processes that emitted the
marked-up logs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146854
Files:
llvm/docs/CommandGuide/llvm-symbolizer.rst
llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
llvm/test/DebugInfo/symbolize-filter-markup-dump-context.test
llvm/tools/llvm-symbolizer/Opts.td
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146854.508250.patch
Type: text/x-patch
Size: 15040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/6862c649/attachment.bin>
More information about the llvm-commits
mailing list