| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/wasm/ |
| H A D | only-keep-debug.test | 1 ## Test that only debug sections are kept with --only-keep-debug. 3 # RUN: llvm-strip --only-keep-debug %t 6 ## Test that keep-section overrides only-keep-debug. 8 # RUN: llvm-strip --only-keep-debug --keep-section=foo %t 11 ## Test that keep-section overrides only-keep-debug, even for known sections. 13 # RUN: llvm-strip --only-keep-debug --keep-section=TYPE %t 25 ## Test that remove-section overrides only-keep-debug. 27 # RUN: llvm-strip --only-keep-debug --remove-section=.debug_info %t
|
| H A D | basic-keep.test | 1 ## Test that --keep-section keeps a debug section when stripping. 3 # RUN: llvm-objcopy --strip-all --keep-section=.debug_info %t %t2 10 ## Test that keep overrides an explicit removal. 11 # RUN: llvm-objcopy --remove-section=.debug_info --keep-section=.debug_info %t %t2
|
| H A D | basic-only-section.test | 6 ## Test that it's the same with only-section + keep-section (for the same section). 7 # RUN: llvm-objcopy --only-section=foo --keep-section=foo %t %t2 21 ## Test that only-section + keep-section keeps both sections. 22 # RUN: llvm-objcopy --only-section=foo --keep-section=linking %t %t2
|
| /llvm-project-15.0.7/polly/lib/External/ppcg/ |
| H A D | opencl_test.sh.in | 3 keep=no 7 --keep) 8 keep=yes 19 if [ $keep = "yes" ]; then
|
| H A D | polybench_test.sh.in | 3 keep=no 8 --keep) 9 keep=yes 25 if [ $keep = "yes" ]; then 107 if [ $keep = "no" ]; then
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/ |
| H A D | symbolize-filter-markup-context-line-elision.test | 6 CHECK:keep[[BEGIN:\[{3}]]ELF module #0x0 "a.o"; BuildID=ab [0x0-0x0](r)[[END:\]{3}]] 7 CHECK:keep[[BEGIN]]ELF module #0x1 "b.o"; BuildID=cd[[END]] 10 keep{{{module:0:a.o:elf:ab}}}skip 12 keep{{{module:1:b.o:elf:cd}}}skip
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | keep-global-symbols.test | 3 # Tests that only global symbols (via -G/--keep-global-symbols) are kept via 4 # the several different variants of -G/--keep-global-symbol(s). 12 # Global2: Global because of "--keep-global-symbol Global2". 13 # Global3: Global because of "--keep-global-symbols %t-globals1.txt". 14 # Global4: Global because of "--keep-global-symbols %t-globals2.txt". 35 # RUN: --keep-global-symbol Global2 \ 36 # RUN: --keep-global-symbols %t-globals1.txt \ 37 # RUN: --keep-global-symbols %t-globals2.txt \ 45 # RUN: llvm-objcopy --regex --keep-global-symbols %t-globals-regexp.txt %t.o %t.3.o 48 # RUN: llvm-objcopy --regex --keep-global-symbol='^Global[0-9]+([[:space:]]Global6)*$' %t.o %t.4.o
|
| H A D | wildcard-flags.test | 18 ## --keep-section: 19 # RUN: llvm-objcopy --strip-all --keep-section='.f*' %t.o %t.ksec.1.o 22 # RUN: llvm-strip --strip-all --keep-section='.f*' %t.o -o %t.ksec.2.o 52 ## --keep-symbol: 53 # RUN: llvm-objcopy --discard-all --keep-symbol='f*' %t.o %t.ksym.1.o 56 # RUN: llvm-strip --discard-all --keep-symbol='f*' %t.o -o %t.ksym.2.o 59 # RUN: llvm-objcopy --discard-all -w --keep-symbol='f*' %t.o %t.ksym.3.o 62 # RUN: llvm-strip --discard-all -w --keep-symbol='f*' %t.o -o %t.ksym.4.o 65 ## --keep-symbols: 148 ## --keep-global-symbol: [all …]
|
| H A D | keep-file-symbols.test | 2 # RUN: llvm-objcopy --strip-all --keep-file-symbols %t %t2 4 # RUN: llvm-objcopy --keep-file-symbols --strip-symbol foo %t %t2 7 # RUN: llvm-strip --keep-file-symbols %t -o %t3 9 # RUN: llvm-strip --keep-file-symbols --strip-symbol foo %t -o %t4 12 # RUN: llvm-objcopy --keep-file-symbols --strip-debug %t %t5 14 # RUN: llvm-objcopy --keep-file-symbols --strip-unneeded %t %t6 17 # RUN: llvm-strip --keep-file-symbols --strip-debug %t -o %t7 19 # RUN: llvm-strip --keep-file-symbols --strip-unneeded %t -o %t8
|
| H A D | keep-global-symbols-mix-globalize.test | 3 # Tests --keep-global-symbol when used in combination with --globalize-symbol on 8 # RUN: --keep-global-symbol Local2 \ 10 # RUN: --keep-global-symbol Weak2 \ 12 # RUN: --keep-global-symbol Global2 \
|
| H A D | keep-symbol.test | 2 # RUN: llvm-objcopy --discard-all -K foo --keep-symbol bar %t %t2 3 # RUN: llvm-objcopy -K foo -N foo -N bar --keep-symbol bar -N baz %t %t3 12 # RUN: llvm-objcopy --discard-all --keep-symbols %t.symbols %t %t5 13 # RUN: llvm-objcopy -K foo -N foo -N bar --keep-symbols %t.symbols -N baz %t %t6 19 # RUN: llvm-objcopy --discard-all --keep-symbols %t.symbols.regex --regex %t %t7
|
| H A D | keep-many.test | 2 # RUN: llvm-objcopy --strip-non-alloc --keep-section=.test --keep-section=.test3 %t %t2 3 # RUN: llvm-objcopy --strip-non-alloc --regex --keep-section='^.test[0-9]+$' %t %t3
|
| H A D | keep-only-section.test | 2 # RUN: llvm-objcopy --keep-section=.test2 --only-section=.test %t %t2 3 # RUN: llvm-objcopy -j .test --keep-section=.test2 %t %t3 6 # RUN: llvm-objcopy --regex --keep-section='^.test$' --only-section='^.test[2-3]+$' %t %t4
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | icf-keep-unique.s | 5 # RUN: ld.lld %t -o %t2 --keep-unique f2 --keep-unique f4 --keep-unique f5 --icf=all --print-icf-se… 40 # f5 is local, not found by --keep-unique f5
|
| H A D | text-section-prefix.s | 2 ## -z keep-text-section-prefix separates text sections with prefix .text.hot, 12 # RUN: ld.lld -z keep-text-section-prefix %t.o -o %t.keep 13 # RUN: llvm-readelf -S %t.keep | FileCheck --check-prefix=KEEP %s 29 # RUN: ld.lld -T %t.lds -z keep-text-section-prefix %t.o -o %t.script
|
| H A D | emit-relocs-gc.s | 11 ## GC collects .bar section and we exclude .rela.bar from output. We keep 12 ## .rela.text because we keep .text. We keep .rela.debug_info because we keep
|
| H A D | input-section-flags-keep.s | 12 # CHECK: Name: keep 20 .global keep 21 keep: label
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | sample-fs.test | 3 1- Show command and keep all the discrimiantor bits 16 2- Show command and keep only the base discriminator bits 26 3- Show command and keep only the base discriminator bits and first pass of FS discriminator 38 4- Merge command and keep all the discrimiantor bits 45 2- Merge command and keep only the base discriminator bits 50 3- Merge command and keep only the base discriminator bits and first pass of FS discriminator
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/ |
| H A D | only-keep-debug.test | 1 RUN: yaml2obj %p/Inputs/only-keep-sections.yaml -o %t.in.exe 3 RUN: llvm-objcopy --only-keep-debug %t.in.exe %t.out.exe 7 ## --only-keep-debug suppresses the default --strip-all. 8 RUN: llvm-strip --only-keep-debug %t.in.exe -o %t-strip.out.exe
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-ar/ |
| H A D | delete.test | 4 # RUN: yaml2obj %s -o %t-keep.o --docnum=2 10 # RUN: llvm-ar rc %t.a %t1.txt %t-delete.o %t-keep.o %t2.txt 20 # FILE-ADDED-NEXT: keep.o 38 # FILE-DELETED-NEXT: keep.o
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | CommonOpts.td | 75 defm keep_section : Eq<"keep-section", "Keep <section>">, 78 defm keep_symbol : Eq<"keep-symbol", "Do not remove symbol <symbol>">, 82 HelpText<"Alias for --keep-symbol">; 84 def keep_file_symbols : Flag<["--"], "keep-file-symbols">, 87 def keep_undefined : Flag<["--"], "keep-undefined">, 91 : Flag<["--"], "only-keep-debug">,
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/ |
| H A D | keep-func.test | 24 …-path %p/../Inputs %p/../Inputs/private/tmp/keep_func/main.out -o %t.keep.dSYM -keep-function-for-… 26 RUN: llvm-dwarfdump %t.keep.dSYM | FileCheck %s --check-prefix KEEP
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | lo16-hi16-illegal-copy.mir | 1 # RUN: not llc -march=amdgcn -mcpu=gfx802 -start-before postrapseudos -asm-verbose=0 -amdgpu-keep-1… 2 # RUN: not llc -march=amdgcn -mcpu=gfx802 -start-before postrapseudos -asm-verbose=0 -amdgpu-keep-1… 3 # RUN: not llc -march=amdgcn -mcpu=gfx900 -start-before postrapseudos -asm-verbose=0 -amdgpu-keep-1… 4 # RUN: not llc -march=amdgcn -mcpu=gfx900 -start-before postrapseudos -asm-verbose=0 -amdgpu-keep-1…
|
| /llvm-project-15.0.7/lldb/test/Shell/ObjectFile/ELF/ |
| H A D | minidebuginfo-set-and-hit-breakpoint.test | 3 # We want to keep the symbol "multiplyByThree" in the .dynamic section and not 27 # because we know what symbol to keep. 32 # RUN: llvm-objcopy --only-keep-debug %t.binary %t.debug 37 # RUN: llvm-objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=%t.keep… 43 # --only-keep-debug starts to work. 54 # RUN: xz --force --keep %t.mini_debuginfo
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | load.ll | 1 …own-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileChe… 2 …own-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers -fast-ise… 3 …own-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers | FileChe… 4 …own-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-keep-registers -fast-ise…
|