aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools
diff options
context:
space:
mode:
authorKai Nacke <kai.nacke@redstar.de>2013-07-06 17:15:36 +0000
committerKai Nacke <kai.nacke@redstar.de>2013-07-06 17:15:36 +0000
commitea434e4bca15383418ac65788fdb8bc3b5725fe2 (patch)
tree11e264bbe6f2530a1d914fbad420f9896e69bb81 /test/tools
parent34ae5725c0e5ba7fb26fb348b079e18182c5d891 (diff)
downloadexternal_llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.zip
external_llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.tar.gz
external_llvm-ea434e4bca15383418ac65788fdb8bc3b5725fe2.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 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/tools')
-rw-r--r--test/tools/llvm-objdump/win64-unwind-data.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tools/llvm-objdump/win64-unwind-data.s b/test/tools/llvm-objdump/win64-unwind-data.s
index 1e4c742..a172bfc 100644
--- a/test/tools/llvm-objdump/win64-unwind-data.s
+++ b/test/tools/llvm-objdump/win64-unwind-data.s
@@ -13,7 +13,7 @@
// CHECK-NEXT: Frame register: RBX
// CHECK-NEXT: Frame offset: 0
// CHECK-NEXT: Unwind Codes:
-// CHECK-NEXT: 0x00: UOP_SetFPReg
+// CHECK-NEXT: 0x12: UOP_SetFPReg
// CHECK-NEXT: 0x0f: UOP_PushNonVol RBX
// CHECK-NEXT: 0x0e: UOP_SaveXMM128 XMM8 [0x0000]
// CHECK-NEXT: 0x09: UOP_SaveNonVol RSI [0x0010]