Home
last modified time | relevance | path

Searched refs:discarded (Results 1 – 25 of 113) sorted by relevance

12345

/llvm-project-15.0.7/lld/test/ELF/
H A Dgc-sections-linkorder-err.s3 ## Error if the linked-to section of an input section is discarded.
9 # CHECK-NEXT: error: {{.*}}.o:(.bar): sh_link points to discarded section {{.*}}.o:(.foo0)
10 # CHECK-NEXT: error: {{.*}}.o:(.baz): sh_link points to discarded section {{.*}}.o:(.foo0)
23 ## The linked-to section of the first input section is discarded.
31 ## Another case: the linked-to section of the second input section is discarded.
H A Ddebug-dead-reloc-relocatable.s3 ## value if the referenced symbol is discarded when linking a relocatable object.
9 ## Relocations for a discarded section are changed to R_*_NONE.
17 ## References to a discarded section are changed to tombstone values.
H A Dcref.s39 .global _start, foo, bar, baz, discarded
48 discarded: label
H A Dsymbol-ordering-file-warnings.s32 # Check that a warning is emitted for symbols discarded due to --gc-sections.
47 # Check that a warning is emitted for symbols discarded due to a linker script /DISCARD/ section.
53 # Check that LLD does not warn for discarded COMDAT symbols, if they are present in the kept instan…
58 # Check that if a COMDAT was unused and discarded via --gc-sections, warn for each instance.
102 # DISCARD: warning: {{.*}}1.o: unable to order discarded symbol: discard
104 # GC: warning: {{.*}}1.o: unable to order discarded symbol: gc
116 # COMDAT: warning: {{.*}}1.o: unable to order discarded symbol: comdat
H A Dcomdat-discarded-error.s10 # CHECK: error: relocation refers to a symbol in a discarded section: bar
17 # CHECK: error: relocation refers to a discarded section: .text.foo
H A Drelocatable-comdat.s4 ## group member may be combined or discarded (e.g. /DISCARD/ or --gc-sections).
37 ## Handle discarded group members.
H A Dgc-sections-retain.s21 # ERR: error: {{.*}}.o:(.nonalloc): sh_link points to discarded section {{.*}}.o:(.discard)
36 ## .discard is discarded, so there will be an error.
H A Ddebug-dead-reloc.s3 ## value if the referenced symbol is discarded (--gc-sections, non-prevailing
58 ## discarded symbols, which are resolved to the addend.
H A Dgc-sections-lsda.s5 ## if the associated text section is discarded.
15 ## An unused non-group non-SHF_LINK_ORDER .gcc_except_table is not discarded.
H A Drelocatable-gc.s6 ## By default all regular sections are discarded. We currently don't track
H A Dcomdat-discarded-gdb-index.s5 ## .debug_info has a relocation to .text.foo . The second %t.o is discarded.
H A Dexclude-discarded-error.s5 # CHECK: error: relocation refers to a symbol in a discarded section: foo
H A Demit-relocs-mergeable2.s3 ## By default local symbols are discarded from SHF_MERGE sections.
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dpreinit-array-empty.test6 ## Check case where .preinit_array is discarded.
8 # RUN: ld.lld -T %t/discarded.script %t.o -o %t1 --image-base=0x80000000
29 #--- discarded.script
H A Drelocatable-discard.s9 ## 1) .rela.discard.foo was not handled properly and was not discarded.
11 ## 2) Third-party section .debug_info referencing discarded section
/llvm-project-15.0.7/lld/test/COFF/Inputs/
H A Dassociative-comdat-2.s2 # associative with it. foo_assoc should be discarded iff foo is discarded,
/llvm-project-15.0.7/lld/test/COFF/
H A Dpdb-import-gc.yaml6 # This tests the case where an __imp_ chunk is discarded by linker GC. The debug
11 # int discarded() { return __wc_mb_cur; }
100 - Name: discarded
H A Dreloc-discarded.s12 # CHECK: error: relocation against symbol in discarded section: assoc_global
13 # CHECK: >>> referenced by {{.*}}reloc-discarded{{.*}}.obj:(main)
H A Dpdb-global-gc.yaml8 # This tests the case where an __imp_ chunk is discarded by linker GC. The debug
13 # int discarded() { return __wc_mb_cur; }
104 - Name: discarded
H A Dassociative-comdat.s37 # associative with it. foo_assoc should be discarded iff foo is discarded,
H A Dreloc-discarded-early2.s6 # CHECK: error: relocation against symbol in discarded section: .drectve
H A Dcomdat-weak.test74 discarded, as it matches the one that already exists. This means that
76 discarded section chunk.
/llvm-project-15.0.7/lld/ELF/
H A DInputFiles.cpp888 return &InputSection::discarded; in createInputSection()
910 return &InputSection::discarded; in createInputSection()
921 return &InputSection::discarded; in createInputSection()
928 return &InputSection::discarded; in createInputSection()
946 return &InputSection::discarded; in createInputSection()
958 return &InputSection::discarded; in createInputSection()
969 return &InputSection::discarded; in createInputSection()
972 return &InputSection::discarded; in createInputSection()
980 return &InputSection::discarded; in createInputSection()
989 return &InputSection::discarded; in createInputSection()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dassert-side-effect.m45 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: side effect in NSAssert() condition discarded in relea…
52 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: side effect in NSCAssert() condition discarded in rele…
/llvm-project-15.0.7/lld/wasm/
H A DInputFiles.cpp460 customSec->discarded = isExcludedByComdat(customSec); in parse()
483 seg->discarded = isExcludedByComdat(seg); in parse()
501 func->discarded = isExcludedByComdat(func); in parse()
581 if (func->discarded) in createDefined()
596 if (seg->discarded) in createDefined()
612 if (section->discarded) in createDefined()

12345