[PATCH] D148787: [llvm-debuginfo-analyzer] Add combined selection for logical elements.
Carlos Alberto Enciso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 20 01:07:14 PDT 2023
CarlosAlbertoEnciso created this revision.
CarlosAlbertoEnciso added reviewers: psamolysov, dblaikie, probinson, Orlando, jryans, jmorse.
CarlosAlbertoEnciso added projects: All, debug-info, LLVM.
Herald added subscribers: manas, ASDenysPetrov, dkrupp, donat.nagy, Szelethus, a.sidorin, baloghadamsoftware, hiraditya.
CarlosAlbertoEnciso requested review of this revision.
Herald added a subscriber: llvm-commits.
Sometimes the output generated by any of the options:
--select=<pattern>
--select-elements=<condition[,condition,...]>
--select-lines=<kind[,kind,...]>
--select-scopes=<kind[,kind,...]>
--select-symbols=<kind[,kind,...]>
--select-types=<kind[,kind,...]>
is too general and includes information that is not required.
Add a combined selection feature, that includes the `<pattern>` AND `<kind>` as a criteria, to allow the selection of a specific `<kind>`
of logical element, line, scope, symbol or type that matches the given `<pattern>`.
--select=<pattern> --select-elements=<condition[,condition,...]>
--select=<pattern> --select-lines=<kind[,kind,...]>
--select=<pattern> --select-scopes=<kind[,kind,...]>
--select=<pattern> --select-symbols=<kind[,kind,...]>
--select=<pattern> --select-types=<kind[,kind,...]>
For the `--report=view`, include only elements that meet the criteria.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148787
Files:
llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h
llvm/lib/DebugInfo/LogicalView/Core/LVOptions.cpp
llvm/test/tools/llvm-debuginfo-analyzer/COFF/01-coff-select-logical-elements.test
llvm/test/tools/llvm-debuginfo-analyzer/DWARF/01-dwarf-select-logical-elements.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148787.515245.patch
Type: text/x-patch
Size: 14445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230420/c40f5f6f/attachment.bin>
More information about the llvm-commits
mailing list