OSDN Git Service

llvm-readobj: Try the DWARF CFI dumper on all machines.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 28 Feb 2019 22:42:55 +0000 (22:42 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 28 Feb 2019 22:42:55 +0000 (22:42 +0000)
commit35823ce58da9d14473287e92db3aa88331ae3131
tree88f34aca71551989584f948554a3a826d332a7b4
parent9ddb1edf089099c65f0f5849861d89f0b8251dbb
llvm-readobj: Try the DWARF CFI dumper on all machines.

There's no reason to limit the DWARF CFI dumper to EM_386 and EM_X86_64;
ELF files could contain DWARF CFI on almost any platform (even 32-bit ARM;
NetBSD uses DWARF CFI on that platform). So start using the DWARF CFI dumper
unconditionally so that we can dump .eh_frame sections on the remaining ELF
platforms as well as in NetBSD binaries.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355151 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/AArch64/dwarf-cfi.s [new file with mode: 0644]
test/tools/llvm-readobj/AArch64/lit.local.cfg [new file with mode: 0644]
test/tools/llvm-readobj/ARM/dwarf-cfi.s [new file with mode: 0644]
tools/llvm-readobj/ELFDumper.cpp