MC: virtualise EmitWindowsUnwindTables
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 3 Aug 2014 18:51:26 +0000 (18:51 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 3 Aug 2014 18:51:26 +0000 (18:51 +0000)
commit83eaeba2a89c07fd445760d2bd7221b150550f52
tree834b9c462042c97ee7560bbfaa13cd2b8e6c3d00
parent2aded1f5c721b21cf105608541687a0de6a36154
MC: virtualise EmitWindowsUnwindTables

This makes EmitWindowsUnwindTables a virtual function and lowers the
implementation of the function to the X86WinCOFFStreamer.  This method is a
target specific operation.  This enables making the behaviour target dependent
by isolating it entirely to the target specific streamer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214664 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/MC/MCStreamer.cpp
lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp