"Implement" the HandlerData Win64 EH method in the base MCStreamer.
authorCharles Davis <cdavis@mines.edu>
Fri, 20 May 2011 16:06:22 +0000 (16:06 +0000)
committerCharles Davis <cdavis@mines.edu>
Fri, 20 May 2011 16:06:22 +0000 (16:06 +0000)
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

lib/MC/MCStreamer.cpp

index 4e4cb8c4ce4db788765f6a6f188d34c7076204a1..625931f3917baf1eb14b263553e322bf1593280a 100644 (file)
@@ -369,8 +369,7 @@ void MCStreamer::EmitWin64EHHandler(const MCSymbol *Sym, bool Unwind,
 }
 
 void MCStreamer::EmitWin64EHHandlerData() {
-  errs() << "Not implemented yet\n";
-  abort();
+  EnsureValidW64UnwindInfo();
 }
 
 void MCStreamer::EmitWin64EHPushReg(unsigned Register) {