mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Output .eh_frames on COFF too now that the integrated as is used on mingw.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad249171e4
commit
dfb31b6cac
@ -309,6 +309,7 @@ void WinCOFFStreamer::EmitWin64EHHandlerData() {
|
||||
}
|
||||
|
||||
void WinCOFFStreamer::FinishImpl() {
|
||||
EmitFrames(NULL, true);
|
||||
EmitW64Tables();
|
||||
MCObjectStreamer::FinishImpl();
|
||||
}
|
||||
|
14
test/MC/COFF/eh-frame.s
Normal file
14
test/MC/COFF/eh-frame.s
Normal file
@ -0,0 +1,14 @@
|
||||
// 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
|
Loading…
Reference in New Issue
Block a user