summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-02 19:24:08 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-02 19:24:08 +0000
commitcdf67d5791d044a5f217114e18eb8d6242222b98 (patch)
tree9e4aa9bd1d8e0c612c76d4d5d8622ab1cb9ce075 /test/MC
parent92d2d909ed1e7080b50cf99627bb2dcbbc9b2a8b (diff)
downloadllvm-cdf67d5791d044a5f217114e18eb8d6242222b98.tar.gz
llvm-cdf67d5791d044a5f217114e18eb8d6242222b98.tar.bz2
llvm-cdf67d5791d044a5f217114e18eb8d6242222b98.tar.xz
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. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/COFF/eh-frame.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/COFF/eh-frame.s b/test/MC/COFF/eh-frame.s
new file mode 100644
index 0000000000..e606b764d6
--- /dev/null
+++ b/test/MC/COFF/eh-frame.s
@@ -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