1# Use address that can't fit in a 64-bit number. Show that llvm-symbolizer 2# simply echoes it as per other malformed input addresses. 3RUN: llvm-symbolizer --obj=addr.exe 0x10000000000000000 | FileCheck --check-prefix=LARGE-ADDR %s 4 5LARGE-ADDR-NOT: {{.}} 6LARGE-ADDR: 0x10000000000000000 7LARGE-ADDR-NOT: {{.}} 8 9RUN: echo '"some text"' '"some text2"' > %t.rsp 10RUN: echo -e 'some text\nsome text2\n' > %t.inp 11 12# Test bad input address values, via stdin, command line and response file. 13RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe < %t.inp | FileCheck --check-prefix=BAD-INPUT %s 14RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe "some text" "some text2" | FileCheck --check-prefix=BAD-INPUT %s 15RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe @%t.rsp | FileCheck --check-prefix=BAD-INPUT %s 16 17# Test bad input address values for the GNU-compatible version. 18RUN: llvm-addr2line --obj=%p/Inputs/addr.exe < %t.inp | FileCheck --check-prefix=BAD-INPUT %s 19RUN: llvm-addr2line --obj=%p/Inputs/addr.exe "some text" "some text2" | FileCheck --check-prefix=BAD-INPUT %s 20RUN: llvm-addr2line --obj=%p/Inputs/addr.exe @%t.rsp | FileCheck --check-prefix=BAD-INPUT %s 21 22BAD-INPUT: some text 23BAD-INPUT-NEXT: some text2 24