This actually starts at offset 0, not 1.
[oota-llvm.git] / lib / MC / MCMachOStreamer.cpp
index b5a55a75304d7d329b27b7f6bc8ffb01b1a6ae25..12aeb4f48fda7a9bcb3abed67b972c6352769f5e 100644 (file)
@@ -377,6 +377,8 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst) {
 }
 
 void MCMachOStreamer::Finish() {
+  EmitFrames(true);
+
   // We have to set the fragment atom associations so we can relax properly for
   // Mach-O.