diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2019-05-23 08:00:49 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2019-05-23 08:00:49 +0000 |
commit | 19a3c307310fc7b880ffc159105fe4b15027d599 (patch) | |
tree | 89e11ecc94ceac0626ae9591e81ddabe118b5ea0 /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
parent | 617cdc5a6d32ee4c6752a1759eff9a1c202e0992 (diff) | |
download | llvm-19a3c307310fc7b880ffc159105fe4b15027d599.zip llvm-19a3c307310fc7b880ffc159105fe4b15027d599.tar.gz llvm-19a3c307310fc7b880ffc159105fe4b15027d599.tar.bz2 |
Simplify `GetName`+`AppendTypeName` by `DWARFDIE`
In D61502#1503247 @clayborg suggested that DWARFUnit *+dw_offset_t can be now
replaced by DWARFDIE.
It is moved from DWARFDebugInfoEntry to DWARFDIE as noted by @clayborg.
I have also removed return type as (1) it was wrong in one case and (2) no
existing caller used the return type. I also refactored the deep nesting noted
by @JDevlieghere.
Differential Revision: https://reviews.llvm.org/D62211
llvm-svn: 361463
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions