[all-commits] [llvm/llvm-project] 14f6cf: [Debug-Info][llvm-dwarfdump] Don't try to dump loc...
Esme via All-commits
all-commits at lists.llvm.org
Tue Jul 27 00:29:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14f6cfcf3cab34ec26474dc464a6a35589f582f7
https://github.com/llvm/llvm-project/commit/14f6cfcf3cab34ec26474dc464a6a35589f582f7
Author: Esme-Yi <esme.yi at ibm.com>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h
M llvm/lib/DWARFLinker/DWARFLinker.cpp
M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
A llvm/test/tools/llvm-dwarfdump/X86/formclass3.s
Log Message:
-----------
[Debug-Info][llvm-dwarfdump] Don't try to dump location
list for attributes that don't have the loclist class.
Summary: The overflow error occurs when we try to dump
location list for those attributes that do not have the
loclist class, like DW_AT_count and DW_AT_byte_size.
After re-reviewed the entire list, I sorted those
attributes into two parts, one for dumping location list
and one for dumping the location expression.
Reviewed By: probinson
Differential Revision: https://reviews.llvm.org/D105613
More information about the All-commits
mailing list