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)
commite8839a755a338fac5e1205a7bb61f3e7c467bda1
treed1b90255b291ccb6b23f0557476a07e1ee4cbd7b
parent4e08f62775f8935a0031b75d9fde8c7431702005
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.

llvm-svn: 209606
llvm/tools/llvm-readobj/CMakeLists.txt
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/llvm-readobj/Win64EHDumper.cpp [new file with mode: 0644]
llvm/tools/llvm-readobj/Win64EHDumper.h [new file with mode: 0644]