"Implement" the HandlerData Win64 EH method in the base MCStreamer.
There's really nothing to implement. All this really does is swap to a
pseudo-section that later gets written to the unwind info struct. That
needs to be implemented in the object streamers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131734 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index 4e4cb8c..625931f 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -369,8 +369,7 @@
}
void MCStreamer::EmitWin64EHHandlerData() {
- errs() << "Not implemented yet\n";
- abort();
+ EnsureValidW64UnwindInfo();
}
void MCStreamer::EmitWin64EHPushReg(unsigned Register) {