]> granicus.if.org Git - llvm/commitdiff
[dwarfdump][test] Add test case for r321064
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 19 Dec 2017 19:42:32 +0000 (19:42 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 19 Dec 2017 19:42:32 +0000 (19:42 +0000)
Verify that -lookup takes a 64-bit address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321101 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-dwarfdump/X86/lookup.s

index 652844447c11dca07240cffc0b1892d66a69c376..d09528d667fa32ee69a2eb3ecb56266a5f8896ef 100644 (file)
@@ -1,5 +1,10 @@
 # RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \
-# RUN:   | llvm-dwarfdump -lookup=0x7fffffff - | \
+# RUN:   | llvm-dwarfdump -lookup=0xffffffff - | \
+# RUN: FileCheck %s --check-prefix=EMPTY --allow-empty
+# EMPTY: {{^$}}
+
+# RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \
+# RUN:   | llvm-dwarfdump -lookup=0xffffffffffffffff - | \
 # RUN: FileCheck %s --check-prefix=EMPTY --allow-empty
 # EMPTY: {{^$}}