aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authoryoungd007 <davidayoung@meta.com>2025-02-10 14:06:15 -0500
committerGitHub <noreply@github.com>2025-02-10 11:06:15 -0800
commit13f63010784d8d55620fa7846ac2192f20f95113 (patch)
treeabbc64843114ba9dbf6334f306a88586883e3cf1 /llvm/lib/CodeGen/MachineOperand.cpp
parent50317ca13f6ad9b2196f92f8c719f5c31e5d6812 (diff)
downloadllvm-13f63010784d8d55620fa7846ac2192f20f95113.zip
llvm-13f63010784d8d55620fa7846ac2192f20f95113.tar.gz
llvm-13f63010784d8d55620fa7846ac2192f20f95113.tar.bz2
Modify dwarfdump verification to allow sub-category counts (#125062)
It was discovered that BOLT had several distinct issues of missing debug information by various tags for debug names (119493 & 119023 as examples), but the verification of a DWARF with llvm-dwarfdump prior to those fixes only gave one 'missing name' category. ``` {"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210} ``` To more easily leverage dwarf verification for debug health, the JSON output will be improved to allow having detailed counts by a sub-category when it makes sense. For now, this is only implemented on the missing tags, but can be extended to more. ``` {"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10} ``` This diff also modifies the tests created in pull request 124936 (not yet landed) to ensure the JSON switches. Ideally this lands after that but it did not correctly create a stack of pull requests.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions