diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2013-07-06 17:15:36 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2013-07-06 17:15:36 +0000 |
commit | ea434e4bca15383418ac65788fdb8bc3b5725fe2 (patch) | |
tree | 11e264bbe6f2530a1d914fbad420f9896e69bb81 /test/MC/COFF/seh.s | |
parent | 34ae5725c0e5ba7fb26fb348b079e18182c5d891 (diff) | |
download | llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.tar.gz llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.tar.bz2 llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.tar.xz |
Fix wrong code offset for unwind code SET_FPREG.
The code offset for unwind code SET_FPREG is wrong because it is set
to constant 0. The fix is to do the same as for the other unwind
codes: emit a label and later the absolute difference between the
label and the begin of the prologue.
Also enables the failing test case MC/COFF/seh.s
Reviewed by Charles Davis and Nico Rieck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/COFF/seh.s')
-rw-r--r-- | test/MC/COFF/seh.s | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/MC/COFF/seh.s b/test/MC/COFF/seh.s index bef425efb4..b1e61a9773 100644 --- a/test/MC/COFF/seh.s +++ b/test/MC/COFF/seh.s @@ -1,7 +1,5 @@ // This test checks that the SEH directives emit the correct unwind data. -// TODO: Expected fail because SET_FPREG has a wrong offset. -// XFAIL: * // RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -s -u | FileCheck %s // CHECK: Sections [ |