summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-10-19 16:57:40 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-10-19 16:57:40 +0000
commit126115191271b732bdc01306e9ced72ff71d99bb (patch)
treeeb6ada336be96209f61af82141bd75c0bb346ff0 /llvm/test
parent3c941e7ed92a5043d6e09b9885a0c66b52f7882e (diff)
downloadbcm5719-llvm-126115191271b732bdc01306e9ced72ff71d99bb.tar.gz
bcm5719-llvm-126115191271b732bdc01306e9ced72ff71d99bb.zip
ExecutionEngine: adjust COFF i386 tautological asserts
Modify static_casts to not be tautological in some COFF i386 relocations. Patch by Alex Langford! llvm-svn: 316169
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s b/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s
index 869df79bbdc..6516eb3d69d 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s
@@ -1,5 +1,5 @@
// RUN: llvm-mc -triple i686-windows -filetype obj -o %t.obj %s
-// RUN: llvm-rtdyld -triple i686-windows -dummy-extern _printf=0xfffffffd -dummy-extern _OutputDebugStringA@4=0xfffffffe -dummy-extern _ExitProcess@4=0xffffffff -verify -check=%s %t.obj
+// RUN: llvm-rtdyld -triple i686-windows -dummy-extern _printf=0x7ffffffd -dummy-extern _OutputDebugStringA@4=0x7ffffffe -dummy-extern _ExitProcess@4=0x7fffffff -verify -check=%s %t.obj
.text
@@ -41,13 +41,13 @@ rel4:
.align 4
__imp__OutputDebugStringA:
.long "_OutputDebugStringA@4" // IMAGE_REL_I386_DIR32
-# rtdyld-check: *{4}__imp__OutputDebugStringA = 0xfffffffe
+# rtdyld-check: *{4}__imp__OutputDebugStringA = 0x7ffffffe
.global __imp__ExitProcess
.align 4
__imp__ExitProcess:
.long "_ExitProcess@4" // IMAGE_REL_I386_DIR32
-# rtdyld-check: *{4}__imp__ExitProcess = 0xffffffff
+# rtdyld-check: *{4}__imp__ExitProcess = 0x7fffffff
.global relocations
relocations:
OpenPOWER on IntegriCloud