Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@ -1 +0,0 @@
abcd

View File

@ -1,10 +0,0 @@
one
two
three
four
five
six
seven
eight
nine
ten

View File

@ -1,4 +0,0 @@
a
ab
abc
abcd

View File

@ -1,3 +0,0 @@
RUN: llvm-strings -a %S/Inputs/abcd | FileCheck %s
RUN: llvm-strings --all %S/Inputs/abcd | FileCheck %s
CHECK: abcd

View File

@ -1,9 +0,0 @@
RUN: rm -rf %t && mkdir -p %t
RUN: llvm-ar -format gnu crs %t/archive.a %S/Inputs/abcd
RUN: llvm-strings -f %t/archive.a | FileCheck %s
RUN: llvm-strings --print-file-name %t/archive.a | FileCheck %s
CHECK: archive.a: !<arch>
CHECK: archive.a: abcd/ 0 0 0 644 4 `
CHECK: archive.a: abcd

View File

@ -1,3 +0,0 @@
RUN: llvm-strings -f %S/Inputs/abcd | FileCheck %s
RUN: llvm-strings --print-file-name %S/Inputs/abcd | FileCheck %s
CHECK: {{[\\/]}}abcd: abcd

View File

@ -1,24 +0,0 @@
RUN: not llvm-strings -n 0 2>&1 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-0 %s
RUN: llvm-strings -n 1 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-1 %s
RUN: llvm-strings -n 2 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-2 %s
RUN: llvm-strings %S/Inputs/variable-length | FileCheck --check-prefix CHECK-DEFAULT %s
STDIN: a
STDIN: ab
STDIN: abc
STDIN: abcd
CHECK-DEFAULT: abcd
CHECK-0: invalid minimum string length 0
CHECK-1: a
CHECK-1: ab
CHECK-1: abc
CHECK-1: abcd
CHECK-2-NOT: a
CHECK-2: ab
CHECK-2: abc
CHECK-2: abcd

View File

@ -1,11 +0,0 @@
RUN: rm -rf %t && mkdir -p %t
RUN: llvm-ar -format gnu crs %t/inner.a %S/Inputs/abcd
RUN: llvm-ar -format gnu crs %t/outer.a %t/inner.a
RUN: llvm-strings %t/outer.a | FileCheck %s
CHECK: !<arch>
CHECK: inner.a/ 0 0 0 644 72 `
CHECK: !<arch>
CHECK: abcd/ 0 0 0 644 4 `
CHECK: abcd

View File

@ -1,33 +0,0 @@
RUN: llvm-strings %S/Inputs/numbers | FileCheck %s -check-prefix CHECK-NONE
RUN: llvm-strings -t d %S/Inputs/numbers | FileCheck %s -check-prefix CHECK-DEC
RUN: llvm-strings -t o %S/Inputs/numbers | FileCheck %s -check-prefix CHECK-OCT
RUN: llvm-strings -t x %S/Inputs/numbers | FileCheck %s -check-prefix CHECK-HEX
CHECK-NONE: three
CHECK-NONE: four
CHECK-NONE: five
CHECK-NONE: seven
CHECK-NONE: eight
CHECK-NONE: nine
CHECK-DEC: 8 three
CHECK-DEC: 14 four
CHECK-DEC: 19 five
CHECK-DEC: 28 seven
CHECK-DEC: 34 eight
CHECK-DEC: 40 nine
CHECK-OCT: 10 three
CHECK-OCT: 16 four
CHECK-OCT: 23 five
CHECK-OCT: 34 seven
CHECK-OCT: 42 eight
CHECK-OCT: 50 nine
CHECK-HEX: 8 three
CHECK-HEX: e four
CHECK-HEX: 13 five
CHECK-HEX: 1c seven
CHECK-HEX: 22 eight
CHECK-HEX: 28 nine

View File

@ -1,3 +0,0 @@
RUN: echo abcd | llvm-strings -f - | FileCheck %s
RUN: echo abcd | llvm-strings --print-file-name - | FileCheck %s
CHECK: {standard input}: abcd

View File

@ -1,2 +0,0 @@
RUN: echo -n abc | llvm-strings - | FileCheck -allow-empty %s
CHECK-NOT: abc

View File

@ -1,2 +0,0 @@
RUN: echo -n abcdefg | llvm-strings - | FileCheck %s
CHECK: abcdefg