summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-09-04 11:47:20 +0000
committerPavel Labath <pavel@labath.sk>2019-09-04 11:47:20 +0000
commit98634c2e11d837b7519b93ed922b05259762e3c8 (patch)
tree643166688ba3b025739ebb23906d0f85f4da521e
parent54f3a651f3af31498014c5f5232b024fe4995eae (diff)
downloadbcm5719-llvm-98634c2e11d837b7519b93ed922b05259762e3c8.tar.gz
bcm5719-llvm-98634c2e11d837b7519b93ed922b05259762e3c8.zip
Fix address sizes in the dwarfdump-debug-loc-error-cases test
the test is building a 64-bit executable, so the addresses should be 64-bit too. The test was still passing even with smaller address size, but it was hitting the "unexpected end of data" error sooner than it should. llvm-svn: 370882
-rw-r--r--llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s20
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s b/llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s
index 092765d4fa3..78196bfecf4 100644
--- a/llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s
+++ b/llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s
@@ -23,26 +23,26 @@
.byte 1 # bogus
.endif
.ifdef CASE2
- .long 0 # starting offset
+ .quad 0 # starting offset
.endif
.ifdef CASE3
- .long 0 # starting offset
- .long 1 # ending offset
+ .quad 0 # starting offset
+ .quad 1 # ending offset
.endif
.ifdef CASE4
- .long 0 # starting offset
- .long 1 # ending offset
+ .quad 0 # starting offset
+ .quad 1 # ending offset
.word 0 # Loc expr size
.endif
.ifdef CASE5
- .long 0 # starting offset
- .long 1 # ending offset
+ .quad 0 # starting offset
+ .quad 1 # ending offset
.word 0 # Loc expr size
- .long 0 # starting offset
+ .quad 0 # starting offset
.endif
.ifdef CASE6
- .long 0 # starting offset
- .long 1 # ending offset
+ .quad 0 # starting offset
+ .quad 1 # ending offset
.word 0xffff # Loc expr size
.endif
OpenPOWER on IntegriCloud