tools: split out Win64EHDumper from COFFDumper
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:45 +0000 (20:26 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:45 +0000 (20:26 +0000)
commitb6a667f0335027a8ed673d29af11fc6653781c11
tree608ef78554c440ee0d96e76d6017635bd95e13a3
parent53046f3c5f5a747bfcb4e5700ed5e3b5b2506afe
tools: split out Win64EHDumper from COFFDumper

Move the implementation of the Win64 EH printer from the COFFDumper into its own
class.  This is in preparation for adding support to print ARM EH information.
The only real change here is in printUnwindInfo where we now lambda lift the
implicit this parameter for the resolveFunction.  Also setup the printing to
handle ARM.  This now has set the stage to introduce ARM EH printing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209606 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/CMakeLists.txt
tools/llvm-readobj/COFFDumper.cpp
tools/llvm-readobj/Win64EHDumper.cpp [new file with mode: 0644]
tools/llvm-readobj/Win64EHDumper.h [new file with mode: 0644]