This is an archive of the discontinued LLVM Phabricator instance.

[llvm-debuginfo-analyzer] Include linkage names while evaluating `--select`
ClosedPublic

Authored by n-omer on May 9 2023, 3:35 AM.

Details

Summary

This patch allows mangled names to be passed to --select.

Diff Detail

Event Timeline

n-omer created this revision.May 9 2023, 3:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 3:35 AM
n-omer requested review of this revision.May 9 2023, 3:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 3:35 AM

@CarlosAlbertoEnciso should review this ideally for approving, but I'm just nitpicking on a long line.

llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h
514–516

clang-format?

n-omer updated this revision to Diff 521612.May 12 2023, 5:22 AM

Address review comments.

n-omer marked an inline comment as done.May 12 2023, 5:23 AM

@n-omer as the selection feature is built into the logical view, can you add a test to /COFF/01-coff-select-logical-elements.test to cover the case of CodeView. Thanks.

n-omer updated this revision to Diff 522620.May 16 2023, 7:54 AM

Add codeview test.

This revision is now accepted and ready to land.May 16 2023, 9:36 PM
llvm/test/tools/llvm-debuginfo-analyzer/COFF/01-coff-select-logical-elements.test
72

Can you add a simple comment describing what is printed. (Similar to the one in line 17). Thanks.

llvm/test/tools/llvm-debuginfo-analyzer/DWARF/01-dwarf-select-logical-elements.test
75

Can you add a simple comment describing what is printed. (Similar to the one in line 17). Thanks.

n-omer updated this revision to Diff 523000.May 17 2023, 4:38 AM
n-omer marked 2 inline comments as done.

Address review comments.