diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2013-08-27 04:16:16 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2013-08-27 04:16:16 +0000 |
commit | f0a0d578089572be37063bbe37063edb28148159 (patch) | |
tree | 042e40f699834b367513c66d4e8e7b85bd460946 /test/MC | |
parent | bf6f1f2a32142f4e262a706940750094407f050d (diff) | |
download | external_llvm-f0a0d578089572be37063bbe37063edb28148159.zip external_llvm-f0a0d578089572be37063bbe37063edb28148159.tar.gz external_llvm-f0a0d578089572be37063bbe37063edb28148159.tar.bz2 |
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 Jim Grosbach, Charles Davis and Nico Rieck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-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 bef425e..b1e61a9 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 [ |