Home
last modified time | relevance | path

Searched refs:discard (Results 1 – 25 of 194) sorted by relevance

12345678

/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt2 fun:main=discard
61 fun:cfree=discard
64 fun:free=discard
148 fun:bind=discard
160 fun:feof=discard
178 fun:kill=discard
182 fun:mmap=discard
184 fun:open=discard
186 fun:pipe=discard
191 fun:putc=discard
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Ddiscard-mix-local-and-all.test7 # RUN: llvm-objcopy --discard-all %t %t-discard-all
9 # RUN: llvm-objcopy --discard-locals %t %t-discard-locals
12 # When mixing --discard-all and --discard-locals, the last one wins.
13 # RUN: llvm-objcopy --discard-all --discard-locals %t %t.1.o
15 # RUN: llvm-objcopy --discard-locals --discard-all %t %t.2.o
16 # RUN: cmp %t.2.o %t-discard-all
20 # RUN: cmp %t.4.o %t-discard-all
24 # RUN: cmp %t.6.o %t-discard-all
28 # RUN: cmp %t.8.o %t-discard-all
31 # RUN: llvm-strip --discard-all --discard-locals %t -o %t.9.o
[all …]
H A Dregex.test4 # RUN: llvm-objcopy --discard-all --regex -K 'ba' %t %t2
8 # RUN: llvm-objcopy --discard-all --regex -K 'ba.*' %t %t3
12 # RUN: llvm-objcopy --discard-all --regex -K '.*ba.*' %t %t4
16 # RUN: llvm-objcopy --discard-all --regex -K '^([a-z]+)*ba.*$' %t %t5
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dcoff-fp-section-name.ll49 ; CHECK: .section .rdata,"dr",discard,__real@7ff0000000000000
53 ; CHECK: .section .rdata,"dr",discard,__real@7ff8000000000000
57 ; CHECK: .section .rdata,"dr",discard,__real@4020000000000000
61 ; CHECK: .section .rdata,"dr",discard,__real@3ff0000000000000
65 ; CHECK: .section .rdata,"dr",discard,__real@7f800000
69 ; CHECK: .section .rdata,"dr",discard,__real@7fc00000
73 ; CHECK: .section .rdata,"dr",discard,__real@41000000
77 ; CHECK: .section .rdata,"dr",discard,__real@3109705f
81 ; CHECK: .section .rdata,"dr",discard,__xmm@73e717a35985531cbb2c11d0ae2e087d
85 ; CHECK: .section .rdata,"dr",discard,__xmm@40020000000000000000000000000000
[all …]
H A Dwin_cst_pool.ll14 ; CHECK-NEXT: .section .rdata,"dr",discard,__real@0000000000800000
34 ; CHECK-NEXT: .section .rdata,"dr",discard,__xmm@00000000000000010000000200000003
49 ; CHECK-NEXT: .section .rdata,"dr",discard,__xmm@00000001000200030004000500060007
69 ; CHECK-NEXT: .section .rdata,"dr",discard,__xmm@00000000000000003f8000003f800000
88 ; CHECK-NEXT: .section .rdata,"dr",discard,__real@bf8000003f800000
100 ; CHECK: .section .rdata,"dr",discard,__ymm@0000000400000003000000020000000100000004000000030000000…
H A Dmingw-comdats.ll58 ; CHECK: .section .text,"xr",discard,_Z3fooi
60 ; CHECK: .section .data,"dw",discard,gv
64 ; GNU: .section .text$_Z3fooi,"xr",discard,_Z3fooi
66 ; GNU: .section .data$gv,"dw",discard,gv
70 ; GNU32: .section .text$_Z3fooi,"xr",discard,__Z3fooi
72 ; GNU32: .section .data$gv,"dw",discard,_gv
/llvm-project-15.0.7/lld/test/COFF/Inputs/
H A Dassociative-comdat-mingw-2.s2 .linkonce discard
7 .linkonce discard
12 .linkonce discard
20 .section .text$foo,"xr",discard,foo
30 .section .text$bar,"xr",discard,bar
/llvm-project-15.0.7/lld/test/ELF/
H A Ddiscard-locals.s4 # RUN: ld.lld --discard-locals %t.o -o %tlocal
7 ## --gc-sections can discard symbols relative to GCed sections (including STT_SECTION).
8 # RUN: ld.lld --discard-locals --gc-sections %t.o -o %tlocal.gc
11 # RUN: ld.lld --discard-all %t.o -o %tall
14 # RUN: ld.lld --discard-all --gc-sections %t.o -o %tall.gc
17 ## --discard-locals removes local symbols which start with ".L"
24 ## --discard-all removes all regular local symbols.
H A Demit-relocs-discard-locals.s3 ## even when --discard-{locals,all} is given.
10 # RUN: ld.lld --emit-relocs --discard-locals %t.o -o %tlocal
14 ## --gc-sections can discard symbols relative to GCed sections (including STT_SECTION).
15 # RUN: ld.lld --emit-relocs --discard-locals --gc-sections %t.o -o %tlocal.gc
19 # RUN: ld.lld --emit-relocs --discard-all %t.o -o %tall
23 # RUN: ld.lld --emit-relocs --discard-all --gc-sections %t.o -o %tall.gc
27 ## --discard-locals removes unused local symbols which start with ".L"
39 ## --discard-all removes all unused regular local symbols.
H A Drelocatable-discard-locals.s3 ## --discard-{locals,all} is given.
7 # RUN: ld.lld -r --discard-locals %t.o -o %tlocal.ro
11 # RUN: ld.lld -r --discard-all %t.o -o %tall.ro
15 ## --discard-locals removes unused local symbols which start with ".L"
26 ## --discard-all removes all unused regular local symbols.
H A Dgc-sections-retain.s21 # ERR: error: {{.*}}.o:(.nonalloc): sh_link points to discarded section {{.*}}.o:(.discard)
33 .section .discard,"a",@progbits
36 ## .discard is discarded, so there will be an error.
37 .section .nonalloc,"oR",@progbits,.discard
/llvm-project-15.0.7/lld/test/COFF/
H A Dstring-tail-merge.s48 .section .rdata,"dr",discard,"??_C@_0M@LACCCNMM@hello?5world?$AA@"
53 .section .rdata,"dr",discard,"??_C@_05MCBCHHEJ@world?$AA@"
58 .section .rdata,"dr",discard,"??_C@_1BI@HHJHKLLN@?$AAh?$AAe?$AAl?$AAl?$AAo?$AA?5?$AAw?$AAo?$AAr?$AA…
75 .section .rdata,"dr",discard,"??_C@_1M@NBBDDHIO@?$AAw?$AAo?$AAr?$AAl?$AAd?$AA?$AA@"
86 .section .data,"drw",discard,"??_C@string_literal_in_wrong_section"
91 .section .rdata,"dr",discard,"??_D@not_a_string_literal"
96 .section .rdata,"dr",discard,"??_C@string_literal_with_relocs"
102 .section .rdata,"dr",discard,"??_C@overaligned_string_literal"
H A Dassociative-comdat-mingw.s42 .linkonce discard
47 .linkonce discard
52 .linkonce discard
60 .section .text$foo,"xr",discard,foo
70 .section .text$bar,"xr",discard,bar
H A Dicf-vtables.s15 .section .rdata,"dr",discard,"??_"
20 .section .rdata,"dr",discard,"??_7"
25 .section .rdata,"dr",discard,"??_7a"
H A Dcomdat-selection.s8 # RUN: sed -e s/SEL/discard/ %s | llvm-mc -triple x86_64-pc-win32 -filetype=obj -o %t.discard.obj
9 # RUN: sed -e s/SEL/discard/ -e s/.long/.short/ -e s/1/2/ %s | llvm-mc -triple x86_64-pc-win32 -fil…
84 # RUN: not lld-link /verbose /dll /noentry /nodefaultlib %t.one_only.obj %t.discard.obj 2>&1 | File…
94 # RUN: lld-link /dll /noentry /nodefaultlib %t.discard.short.2.obj %t.largest.obj
98 # RUN: lld-link /dll /noentry /nodefaultlib %t.largest.obj %t.discard.short.2.obj
H A Dassociative-comdat-mingw-i386.s34 .linkonce discard
46 .section .text$foo,"xr",discard,_foo
51 .section .text$foo,"xr",discard,_foo@0
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/
H A Ddiscard-all.test1 RUN: yaml2obj %p/Inputs/discard-locals.yaml -o %t.in.o
5 RUN: llvm-objcopy --discard-all %t.in.o %t.out.o
15 RUN: cp %t.in.o %t.strip-discard-all.o
16 RUN: llvm-strip --discard-all %t.strip-discard-all.o
17 RUN: cmp %t.out.o %t.strip-discard-all.o
H A Dstrip-debug.test10 # Test that --strip-all, --strip-all-gnu, --discard-all and --strip-unneeded,
20 # RUN: llvm-objcopy --discard-all %t.in.o %t.discard-all.o
21 # RUN: llvm-objdump --section-headers %t.discard-all.o | FileCheck %s --check-prefixes=SECTIONS
23 # RUN: llvm-objcopy --discard-all %t.in.o %t.strip-unneeded.o
/llvm-project-15.0.7/compiler-rt/test/dfsan/Inputs/
H A Dflags_abilist.txt6 fun:main=discard
9 fun:dfsan_set_label=discard
12 fun:my_dfsan_conditional_callback=discard
15 fun:dfsan_set_conditional_callback=discard
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Drelocatable-discard.s7 ## Test shows that we do not crash after discarding the .discard.foo with -r.
9 ## 1) .rela.discard.foo was not handled properly and was not discarded.
15 # CHECK-NOT: .discard
17 .section .discard.foo,"ax"
21 .long .discard.foo
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
H A Ddiscard.pass.cpp27 e.discard(9999); in rand0()
37 e.discard(9999); in rand()
49 e1.discard(1); in other()
53 e1.discard(3); in other()
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dlinkonce-invalid.s8 .linkonce discard
20 .linkonce discard foo
27 .linkonce discard
H A Dsection-comdat-conflict2.s5 .section .xyz,"xr",discard,bar
6 .section .abcd,"xr",discard,bar
/llvm-project-15.0.7/llvm/test/Instrumentation/DataFlowSanitizer/Inputs/
H A Dabilist.txt1 fun:discard*=uninstrumented
2 fun:discard*=discard
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileOutputBuffer.cpp57 consumeError(Temp.discard()); in ~OnDiskBuffer()
60 void discard() override { in discard() function in __anonb6581d170111::OnDiskBuffer
63 consumeError(Temp.discard()); in discard()
133 consumeError(File.discard()); in createOnDiskBuffer()
146 consumeError(File.discard()); in createOnDiskBuffer()

12345678