Commit 8072be98 authored by Bill Wendling's avatar Bill Wendling
Browse files

Merging r196104:

------------------------------------------------------------------------
r196104 | rafael | 2013-12-02 06:59:34 -0800 (Mon, 02 Dec 2013) | 1 line

Output .eh_frames on COFF too now that the integrated as is used on mingw.
------------------------------------------------------------------------

llvm-svn: 196137
parent 875bec4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ void WinCOFFStreamer::EmitWin64EHHandlerData() {
}

void WinCOFFStreamer::FinishImpl() {
  EmitFrames(NULL, true);
  EmitW64Tables();
  MCObjectStreamer::FinishImpl();
}
+14 −0
Original line number Diff line number Diff line
// 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