1 # Use address that can't fit in a 64-bit number. Show that llvm-symbolizer
2 # simply treats it as an unknown symbol.
3 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe 0x10000000000000000 | FileCheck --check-prefix=LARGE-ADDR %s
7 LARGE-ADDR-NEXT: ??:0:0
11 RUN: echo '"some text"' '"some text2"' > %t.rsp
12 RUN: echo -e 'some text\nsome text2\n' > %t.inp
14 # Test bad input address values, via stdin, command line and response file.
15 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe < %t.inp | FileCheck --check-prefix=BAD-INPUT %s
16 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe "some text" "some text2" | FileCheck --check-prefix=BAD-INPUT %s
17 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe @%t.rsp | FileCheck --check-prefix=BAD-INPUT %s
19 # Test bad input address values for the GNU-compatible version.
20 RUN: llvm-addr2line --obj=%p/Inputs/addr.exe < %t.inp | FileCheck --check-prefix=BAD-INPUT %s
21 RUN: llvm-addr2line --obj=%p/Inputs/addr.exe "some text" "some text2" | FileCheck --check-prefix=BAD-INPUT %s
22 RUN: llvm-addr2line --obj=%p/Inputs/addr.exe @%t.rsp | FileCheck --check-prefix=BAD-INPUT %s