OSDN Git Service

[DWARF] Fixing a bug with processing of DWARF v5 indexed strings in Mach-O objects.
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>
Thu, 13 Jul 2017 01:03:28 +0000 (01:03 +0000)
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>
Thu, 13 Jul 2017 01:03:28 +0000 (01:03 +0000)
commit95621c216553edfb30867410f63e8c9ff1807055
tree492a176593f4977d74d31d7f968ee7c3622a3989
parentb0e9b49e0d5b044734b745f96593955c06408437
[DWARF] Fixing a bug with processing of DWARF v5 indexed strings in Mach-O objects.
Code to convert MachO - specific section debug section names to standard DWARF v5
section names was in the wrong place.

Differential Revision: https://reviews.llvm.org/D35321

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307872 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFContext.cpp
test/DebugInfo/Inputs/dwarfdump-str-offsets-macho.o [new file with mode: 0644]
test/DebugInfo/Inputs/dwarfdump-str-offsets-macho.s [new file with mode: 0644]
test/DebugInfo/dwarfdump-str-offsets.test