Add support for stack map generation in the X86 backend.
[oota-llvm.git] / lib / Target / X86 / X86AsmPrinter.cpp
index 84f633fa84ddedd1a29c01ff7d81a4bf1f9c833d..1a81ba8f41c1b74c1a48bc444cbd70f261d1ca44 100644 (file)
@@ -626,6 +626,8 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
       OutStreamer.AddBlankLine();
     }
 
+    SM.serializeToStackMapSection();
+
     // Funny Darwin hack: This flag tells the linker that no global symbols
     // contain code that falls through to other global symbols (e.g. the obvious
     // implementation of multiple entry points).  If this doesn't occur, the