| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | gc-sections-linkorder-err.s | 3 ## 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 D | debug-dead-reloc-relocatable.s | 3 ## 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 D | cref.s | 39 .global _start, foo, bar, baz, discarded 48 discarded: label
|
| H A D | symbol-ordering-file-warnings.s | 32 # 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 D | comdat-discarded-error.s | 10 # 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 D | relocatable-comdat.s | 4 ## group member may be combined or discarded (e.g. /DISCARD/ or --gc-sections). 37 ## Handle discarded group members.
|
| H A D | gc-sections-retain.s | 21 # ERR: error: {{.*}}.o:(.nonalloc): sh_link points to discarded section {{.*}}.o:(.discard) 36 ## .discard is discarded, so there will be an error.
|
| H A D | debug-dead-reloc.s | 3 ## value if the referenced symbol is discarded (--gc-sections, non-prevailing 58 ## discarded symbols, which are resolved to the addend.
|
| H A D | gc-sections-lsda.s | 5 ## if the associated text section is discarded. 15 ## An unused non-group non-SHF_LINK_ORDER .gcc_except_table is not discarded.
|
| H A D | relocatable-gc.s | 6 ## By default all regular sections are discarded. We currently don't track
|
| H A D | comdat-discarded-gdb-index.s | 5 ## .debug_info has a relocation to .text.foo . The second %t.o is discarded.
|
| H A D | exclude-discarded-error.s | 5 # CHECK: error: relocation refers to a symbol in a discarded section: foo
|
| H A D | emit-relocs-mergeable2.s | 3 ## By default local symbols are discarded from SHF_MERGE sections.
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | preinit-array-empty.test | 6 ## 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 D | relocatable-discard.s | 9 ## 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 D | associative-comdat-2.s | 2 # associative with it. foo_assoc should be discarded iff foo is discarded,
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | pdb-import-gc.yaml | 6 # 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 D | reloc-discarded.s | 12 # CHECK: error: relocation against symbol in discarded section: assoc_global 13 # CHECK: >>> referenced by {{.*}}reloc-discarded{{.*}}.obj:(main)
|
| H A D | pdb-global-gc.yaml | 8 # 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 D | associative-comdat.s | 37 # associative with it. foo_assoc should be discarded iff foo is discarded,
|
| H A D | reloc-discarded-early2.s | 6 # CHECK: error: relocation against symbol in discarded section: .drectve
|
| H A D | comdat-weak.test | 74 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 D | InputFiles.cpp | 888 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 D | assert-side-effect.m | 45 …// 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 D | InputFiles.cpp | 460 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()
|