/llvm-project/llvm/test/tools/llvm-ar/ |
H A D | move-before.test | 3 RUN: touch %t1.txt 4 RUN: touch %t2.txt 5 RUN: touch %t3.txt 6 RUN: touch %t4.txt 10 RUN: llvm-ar rc %t-one.a %t1.txt %t2.txt %t3.txt 11 RUN: llvm-ar mb %t2.txt %t-one.a %t3.txt 14 ONE: 1.txt 15 ONE-NEXT: 3.txt 16 ONE-NEXT: 2.txt 20 RUN: llvm-ar rc %t-front.a %t1.txt %t2.txt %t3.txt [all …]
|
H A D | move-after.test | 3 RUN: touch %t1.txt 4 RUN: touch %t2.txt 5 RUN: touch %t3.txt 6 RUN: touch %t4.txt 10 RUN: llvm-ar rc %t-one.a %t1.txt %t2.txt %t3.txt 11 RUN: llvm-ar ma %t1.txt %t-one.a %t3.txt 14 ONE: 1.txt 15 ONE-NEXT: 3.txt 16 ONE-NEXT: 2.txt 20 RUN: llvm-ar rc %t-back.a %t1.txt %t2.txt %t3.txt [all …]
|
H A D | full-path-option.test | 5 RUN: echo hello-a > a/foo.txt 6 RUN: echo hello-b > b/foo.txt 7 RUN: echo hello-parent > foo.txt 10 RUN: rm -f noop.a && llvm-ar rcP noop.a foo.txt 18 # Looking up a/foo.txt in a regular archive will fail with P because it is 19 # added to the archive as foo.txt. 21 RUN: llvm-ar rcS display.a a/foo.txt foo.txt b/foo.txt 22 RUN: llvm-ar t display.a a/foo.txt | FileCheck %s --check-prefix=DISPLAY-FOUND --match-full-lines 23 RUN: not llvm-ar tP display.a a/foo.txt 2>&1 | FileCheck %s --check-prefix=DISPLAY-NOT-FOUND 25 DISPLAY-FOUND: foo.txt [all …]
|
H A D | count.test | 7 RUN: echo hello > %t/x/foo.txt 8 RUN: echo cool > %t/y/foo.txt 9 RUN: echo world > %t/z/foo.txt 10 RUN: echo fizz > %t/x/bar.txt 11 RUN: echo buzz > %t/y/bar.txt 12 RUN: echo fizbuz > %t/z/bar.txt 13 RUN: llvm-ar rc %t/archive.a %t/x/foo.txt %t/y/foo.txt %t/z/foo.txt \ 14 RUN: %t/x/bar.txt %t/y/bar.txt %t/z/bar.txt 18 LIST-MEMBERS: foo.txt 19 LIST-MEMBERS-NEXT: foo.txt [all …]
|
H A D | insert-before.test | 3 RUN: touch %t1.txt 4 RUN: touch %t2.txt 5 RUN: touch %t3.txt 6 RUN: touch %t4.txt 10 RUN: llvm-ar rc %t-one.a %t1.txt %t2.txt 11 RUN: llvm-ar rb %t2.txt %t-one.a %t3.txt 14 ONE: 1.txt 15 ONE-NEXT: 3.txt 16 ONE-NEXT: 2.txt 20 RUN: llvm-ar rc %t-front.a %t1.txt %t2.txt [all …]
|
H A D | insert-after.test | 3 RUN: touch %t1.txt 4 RUN: touch %t2.txt 5 RUN: touch %t3.txt 6 RUN: touch %t4.txt 10 RUN: llvm-ar rc %t-one.a %t1.txt %t2.txt 11 RUN: llvm-ar ra %t1.txt %t-one.a %t3.txt 14 ONE: 1.txt 15 ONE-NEXT: 3.txt 16 ONE-NEXT: 2.txt 20 RUN: llvm-ar rc %t-back.a %t1.txt %t2.txt [all …]
|
H A D | extract.test | 10 # RUN: echo filea > %t/a.txt 11 # RUN: echo fileb > %t/b.txt 12 # RUN: llvm-ar rc %t/archive.a %t/a.txt %t/b.txt 15 # RUN: cd %t/extracted && llvm-ar xv %t/archive.a a.txt | FileCheck %s --check-prefix=A 16 # RUN: diff %t/a.txt %t/extracted/a.txt 17 # A: x - a.txt 20 # RUN: rm %t/extracted/a.txt 22 # RUN: diff %t/a.txt %t/extracted/a.txt 23 # RUN: diff %t/b.txt %t/extracted/b.txt 24 # AB: x - a.txt [all …]
|
H A D | windows-path.test | 8 RUN: echo hello-a > a/foo.txt 9 RUN: echo hello-b > b/foo.txt 10 RUN: echo hello-parent > foo.txt 15 RUN: llvm-ar rcST archive.a a\..\a\foo.txt 16 RUN: llvm-ar rcST archive.a foo.txt 17 RUN: llvm-ar rcST archive.a b\foo.txt b/foo.txt 18 RUN: llvm-ar dT archive.a foo.txt 21 ARCHIVE: a/foo.txt 22 ARCHIVE-NEXT: b/foo.txt 23 ARCHIVE-NEXT: b/foo.txt [all …]
|
H A D | print.test | 5 # RUN: echo file1 > %t/1.txt 6 # RUN: echo file2 > %t/2.txt 7 # RUN: echo file3 > %t/3.txt 9 # RUN: llvm-ar -rc %t/archive.a %t/1.txt %t/2.txt %t/3.txt 27 # WITHOUT-VERBOSE: Printing 1.txt 29 # WITHOUT-VERBOSE-NEXT: Printing 2.txt 31 # WITHOUT-VERBOSE-NEXT: Printing 3.txt 35 # RUN: llvm-ar p %t/archive.a %t/2.txt \ 40 # RUN: llvm-ar pv %t/archive.a %t/2.txt \ 43 # SINGLE-VERBOSE: Printing 2.txt [all …]
|
H A D | response.test | 3 # RUN: echo 'contents' > %t.txt 4 # RUN: echo 'rc %t1.a %t.txt' > %t.response1.txt 5 # RUN: llvm-ar @%t.response1.txt 9 # RUN: echo 'contents' > '%t space.txt' 11 # RUN: %python -c "import os; open(r'%t.response2.txt', 'w').write(r'%t2.a \"%t space.txt\"'+ '\n')" 12 # RUN: llvm-ar rc @%t.response2.txt 16 # RUN: echo 'rc %t3.a' > %t.response3.txt 17 # RUN: llvm-ar @%t.response3.txt %t.txt 21 # RUN: echo contents > %t.txt 22 # RUN: echo rc %t4.a > %t.newline.txt [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/ |
H A D | subtarget.ll | 10 ; RUN: llvm-objdump -D --arch-name=amdgcn -mllvm --amdhsa-code-object-version=6 --mcpu=gfx12-generic %t.o > %t-specify.txt 11 ; RUN: llvm-objdump -D -mllvm --amdhsa-code-object-version=6 %t.o > %t-detect.txt 12 ; RUN: diff %t-specify.txt %t-detect.txt 15 ; RUN: llvm-objdump -D --arch-name=amdgcn --mcpu=gfx1201 %t.o > %t-specify.txt 16 ; RUN: llvm-objdump -D %t.o > %t-detect.txt 17 ; RUN: diff %t-specify.txt %t-detect.txt 20 ; RUN: llvm-objdump -D --arch-name=amdgcn --mcpu=gfx1200 %t.o > %t-specify.txt 21 ; RUN: llvm-objdump -D %t.o > %t-detect.txt [all...] |
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/ |
H A D | sanitizer_coverage_allowlist_ignorelist.cpp | 1 // Tests -fsanitize-coverage-allowlist=allowlist.txt and 2 // -fsanitize-coverage-ignorelist=ignorelist.txt with libFuzzer-like coverage 14 // RUN: echo -e "src:*\nfun:*" > al_all.txt 15 // RUN: echo -e "" > al_none.txt 16 // RUN: echo -e "src:%s\nfun:*" > al_file.txt 17 // RUN: echo -e "src:*\nfun:*bar*" > al_bar.txt 18 // RUN: echo -e "src:*\nfun:*foo*" > al_foo.txt 19 // RUN: echo -e "src:*" > bl_all.txt 20 // RUN: echo -e "" > bl_none.txt 21 // RUN: echo -e "src:%s" > bl_file.txt [all...] |
/llvm-project/clang/unittests/Tooling/Syntax/ |
H A D | BuildTreeTest.cpp | 4 // See https://llvm.org/LICENSE.txt for license information. 104 R"txt( in TEST_P() 128 )txt")); in TEST_P() 137 R"txt( in TEST_P() 154 )txt")); in TEST_P() 162 R"txt( in TEST_P() 187 )txt")); in TEST_P() 196 R"txt( in TEST_P() 205 )txt")); in TEST_P() 216 {R"txt( in TEST_P() [all...] |
/llvm-project/llvm/utils/lit/tests/ |
H A D | shtest-define.py | 3 # RUN: echo '-- Available Tests --' > %t.tests.actual.txt 16 # DEFINE: echo ' shtest-define :: %{test}' >> %t.tests.actual.txt 21 # REDEFINE: %{test} = errors/assignment/before-name.txt 23 # REDEFINE: %{test} = errors/assignment/between-name-equals.txt 25 # REDEFINE: %{test} = errors/assignment/braces-empty.txt 27 # REDEFINE: %{test} = errors/assignment/braces-with-dot.txt 29 # REDEFINE: %{test} = errors/assignment/braces-with-equals.txt 31 # REDEFINE: %{test} = errors/assignment/braces-with-newline.txt 33 # REDEFINE: %{test} = errors/assignment/braces-with-number.txt 35 # REDEFINE: %{test} = errors/assignment/braces-with-ws.txt [all …]
|
H A D | xfail-cl.py | 3 # RUN: %{lit} --xfail 'false.txt;false2.txt;top-level-suite :: b :: test.txt' \ 4 # RUN: --xfail-not 'true-xfail.txt;top-level-suite :: a :: test-xfail.txt' \ 8 # RUN: env LIT_XFAIL='false.txt;false2.txt;top-level-suite :: b :: test.txt' \ 9 # RUN: LIT_XFAIL_NOT='true-xfail.txt;top-level-suite :: a :: test-xfail.txt' \ 15 # RUN: env LIT_XFAIL=true-xfail.txt \ 16 # RUN: %{lit} --xfail true-xfail.txt --xfail-not true-xfail.txt \ 17 # RUN: --xfail true-xfail.txt %{inputs}/xfail-cl/true-xfail.txt \ 20 # RUN: env LIT_XFAIL_NOT=true-xfail.txt LIT_XFAIL=true-xfail.txt \ 21 # RUN: %{lit} --xfail true-xfail.txt %{inputs}/xfail-cl/true-xfail.txt \ 27 # CHECK-FILTER-DAG: {{^}}PASS: top-level-suite :: a :: test.txt [all …]
|
H A D | shtest-format.py | 12 # CHECK: FAIL: shtest-format :: external_shell/fail.txt 13 # CHECK-NEXT: *** TEST 'shtest-format :: external_shell/fail.txt' FAILED *** 24 # CHECK: FAIL: shtest-format :: external_shell/fail_with_bad_encoding.txt 25 # CHECK-NEXT: *** TEST 'shtest-format :: external_shell/fail_with_bad_encoding.txt' FAILED *** 31 # CHECK: FAIL: shtest-format :: external_shell/fail_with_control_chars.txt 32 # CHECK-NEXT: *** TEST 'shtest-format :: external_shell/fail_with_control_chars.txt' FAILED *** 38 # CHECK: PASS: shtest-format :: external_shell/pass.txt 40 # CHECK: FAIL: shtest-format :: fail.txt 41 # CHECK-NEXT: *** TEST 'shtest-format :: fail.txt' FAILED *** 62 # CHECK: UNRESOLVED: shtest-format :: no-test-line.txt [all...] |
H A D | shtest-shell.py | 10 # on stdout-encoding.txt 21 # CHECK: FAIL: shtest-shell :: colon-error.txt 22 # CHECK: *** TEST 'shtest-shell :: colon-error.txt' FAILED *** 29 # CHECK: PASS: shtest-shell :: continuations.txt 31 # CHECK: PASS: shtest-shell :: dev-null.txt 33 # CHECK: FAIL: shtest-shell :: diff-b.txt 34 # CHECK: *** TEST 'shtest-shell :: diff-b.txt' FAILED *** 48 # CHECK: FAIL: shtest-shell :: diff-encodings.txt 49 # CHECK: *** TEST 'shtest-shell :: diff-encodings.txt' FAILED *** 161 # CHECK: FAIL: shtest-shell :: diff-error-1.txt [all...] |
/llvm-project/llvm/test/Other/ |
H A D | lit-globbing.ll | 2 RUN: echo TA > %t/TA.txt 3 RUN: echo TB > %t/TB.txt 4 RUN: echo TAB > %t/TAB.txt 10 RUN: echo %t/T?.txt | FileCheck -check-prefix=QUESTION %s 11 RUN: echo %t/'T'?.txt | FileCheck -check-prefix=QUESTION %s 13 RUN: echo %t/T??.txt | FileCheck -check-prefix=QUESTION2 %s 14 RUN: echo %t/'T'??.txt | FileCheck -check-prefix=QUESTION2 %s 16 RUN: echo 'T*' 'T?.txt' 'T??.txt' | FileCheck -check-prefix=QUOTEDARGS %s 18 STAR-NOT: TB.txt 19 STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}} [all …]
|
/llvm-project/lldb/test/Shell/Commands/CommandScriptImmediateOutput/ |
H A D | CommandScriptImmediateOutputFile.test | 4 # RUN: echo "READ" > %t.read.txt 5 # RUN: echo "WRITE" > %t.write.txt 6 # RUN: echo "APPEND" > %t.append.txt 7 # RUN: echo "READ PLUS" > %t.read_plus.txt 8 # RUN: echo "WRITE PLUS" > %t.write_plus.txt 9 # RUN: echo "APPEND PLUS" > %t.append_plus.txt 14 # RUN: -o 'mywrite %t.read.txt r' \ 15 # RUN: -o 'mywrite %t.write.txt w' \ 16 # RUN: -o 'mywrite %t.append.txt a' \ 17 # RUN: -o 'mywrite %t.write_plus.txt w+' \ [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | binary-input-and-output.test | 1 # RUN: echo abcd > %t.txt 4 # RUN: cp %t.txt %t-copy.txt 7 # RUN: llvm-objcopy -I binary -O binary %t.txt %t.2.txt 8 # RUN: cmp %t.txt %t.2.txt 9 # RUN: cmp %t.txt %t-copy.txt 12 # RUN: llvm-objcopy -I binary %t.txt %t.3.txt 13 # RUN: cmp %t.txt %t.3.txt 17 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.o 18 # RUN: llvm-objcopy -O binary %t.o %t.4.txt 19 # RUN: cmp %t.txt %t.4.txt [all …]
|
H A D | input-output-target.test | 1 # RUN: echo abcd > %t.txt 4 # RUN: cp %t.txt %t-copy.txt 7 # RUN: llvm-objcopy -F binary %t.txt %t.2.txt 8 # RUN: cmp %t-copy.txt %t.2.txt 11 # RUN: llvm-objcopy --target binary %t.txt %t.3.txt 12 # RUN: cmp %t-copy.txt %t.3.txt 16 # RUN: %t.txt %t.4.txt 2>&1 \ 19 # RUN: %t.txt %t.4.txt 2>&1 \
|
/llvm-project/lld/test/ELF/ |
H A D | symbol-ordering-file-warnings.s | 8 # RUN: echo "missing" > %t-order-missing.txt 9 # RUN: ld.lld %t1.o -o %t --symbol-ordering-file %t-order-missing.txt \ 13 # RUN: ld.lld %t1.o -o %t --symbol-ordering-file %t-order-missing.txt \ 18 # RUN: ld.lld %t1.o -o %t --symbol-ordering-file %t-order-missing.txt \ 23 # RUN: echo "shared" > %t-order-shared.txt 24 # RUN: ld.lld %t1.o %t.so -o %t --symbol-ordering-file %t-order-shared.txt \ 28 # RUN: echo "absolute" > %t-order-absolute.txt 29 # RUN: ld.lld %t1.o -o %t --symbol-ordering-file %t-order-absolute.txt \ 33 # RUN: echo "gc" > %t-order-gc.txt 34 # RUN: ld.lld %t1.o -o %t --symbol-ordering-file %t-order-gc.txt --gc-sections \ [all …]
|
/llvm-project/libcxx/utils/data/unicode/ |
H A D | README.txt | 7 https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt \ 8 https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt \ 9 https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt \ 10 https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt \ 11 https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedGeneralCategory.txt \ 12 https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt 17 GraphemeBreakProperty.txt 18 Source: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt 21 emoji-data.txt 22 Source: https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt [all …]
|
/llvm-project/llvm/test/FileCheck/ |
H A D | numeric-defines.txt | 32 NUMERRMSG1: defines.txt:[[#@LINE-5]]:12: error: CHECKNUM1: expected string not found in input 33 NUMERRMSG1: defines.txt:1:1: note: scanning from here 34 NUMERRMSG1: defines.txt:1:1: note: with "NUMVAL1" equal to "7" 35 NUMERRMSG1: defines.txt:[[#@LINE-10]]:1: note: possible intended match here 37 NUMERRMSG2: defines.txt:[[#@LINE-9]]:12: error: CHECKNUM2: expected string not found in input 38 NUMERRMSG2: defines.txt:1:1: note: scanning from here 39 NUMERRMSG2: defines.txt:1:1: note: with "NUMVAL2" equal to "8" 40 NUMERRMSG2: defines.txt:[[#@LINE-14]]:1: note: possible intended match here 42 NOT-NUMERRMSG1: defines.txt:[[#@LINE-13]]:14: error: {{NUMNOT1}}-NOT: excluded string found in input 43 NOT-NUMERRMSG1: defines.txt:[[#@LINE-18]]:1: note: found here [all …]
|
/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
H A D | coverage-missing.cpp | 9 // RUN: %sancov print *.sancov > main.txt 11 // RUN: count 1 < main.txt 13 // RUN: %sancov print *.sancov > foo.txt 15 // RUN: count 3 < foo.txt 17 // RUN: %sancov print *.sancov > bar.txt 19 // RUN: count 4 < bar.txt 20 // RUN: %sancov missing %t < foo.txt > foo-missing.txt 21 // RUN: sort main.txt foo-missing.txt -o foo-missing-with-main.txt 25 // RUN: diff bar.txt foo-missing-with-main.txt > %t.log || true 37 // RUN: %sancov print %xdynamiclib_filename.*.sancov > foo.txt [all …]
|