git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196104
91177308-0d34-0410-b5e6-
96231b3b80d8
}
void WinCOFFStreamer::FinishImpl() {
}
void WinCOFFStreamer::FinishImpl() {
+ EmitFrames(NULL, true);
EmitW64Tables();
MCObjectStreamer::FinishImpl();
}
EmitW64Tables();
MCObjectStreamer::FinishImpl();
}
--- /dev/null
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -s | FileCheck %s
+
+ .def _main;
+ .scl 2;
+ .type 32;
+ .endef
+ .text
+ .globl _main
+_main:
+ .cfi_startproc
+ ret
+ .cfi_endproc
+
+// CHECK: Name: .eh_frame