Home
last modified time | relevance | path

Searched refs:ctors (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dsort-init.s2 ## Test SORT_BY_INIT_PRIORITY can be used to convert .ctors into .init_array
20 .section .ctors.65435, "a"
27 .section .ctors.65529,"a"
34 .section .ctors, "a"
40 *(SORT_BY_INIT_PRIORITY(.init_array.* .ctors.*) SORT_BY_INIT_PRIORITY(foo*))
41 *(.init_array .ctors)
/llvm-project-15.0.7/lld/test/ELF/
H A Dctors_dtors_priority.s35 .section .ctors, "aw", @progbits
37 .section .ctors.100, "aw", @progbits
39 .section .ctors.005, "aw", @progbits
41 .section .ctors, "aw", @progbits
43 .section .ctors, "aw", @progbits
H A Dgc-sections.s18 # NOGC: Name: .ctors
52 # GC1: Name: .ctors
76 # GC2: Name: .ctors
141 .section .ctors,"aw",@progbits
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dconstructor.ll2 ; RUN: llc -mtriple x86_64-pc-linux -use-ctors < %s | FileCheck --check-prefix=CTOR %s
3 ; RUN: llc -mtriple x86_64-unknown-freebsd -use-ctors < %s | FileCheck --check-prefix=CTOR %s
4 ; RUN: llc -mtriple x86_64-pc-solaris2.11 -use-ctors < %s | FileCheck --check-prefix=CTOR %s
9 ; RUN: llc -mtriple i586-intel-elfiamcu -use-ctors < %s | FileCheck %s --check-prefix=MCU-CTORS
41 ; CTOR: .section .ctors,"aw",@progbits
46 ; CTOR-NEXT: .section .ctors.09980,"aGw",@progbits,v,comdat
49 ; CTOR-NEXT: .section .ctors.65520,"aGw",@progbits,v,comdat
77 ; MCU-CTORS: .section .ctors,"aw",@progbits
80 ; COFF-CTOR: .section .ctors.65520,"dw",associative,v
83 ; COFF-CTOR-NEXT: .section .ctors.09980,"dw",associative,v
[all …]
H A D2011-08-29-InitOrder.ll1 ; RUN: llc < %s -mtriple=i386-linux-gnu -use-ctors | FileCheck %s --check-prefix=CHECK-DEFAULT
6 ; CHECK-DEFAULT: .section .ctors.62535,"aw",@progbits
8 ; CHECK-DEFAULT: .section .ctors.63535,"aw",@progbits
10 ; CHECK-DEFAULT: .section .ctors.64535,"aw",@progbits
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dinit-array.ll10 ; RUN: llc -mtriple=riscv32-unknown-linux-gnu -verify-machineinstrs -use-ctors -o - %s \
12 ; RUN: llc -mtriple=riscv32-unknown-elf -verify-machineinstrs -use-ctors -o - %s \
14 ; RUN: llc -mtriple=riscv64-unknown-linux-gnu -verify-machineinstrs -use-ctors -o - %s \
16 ; RUN: llc -mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors -o - %s \
26 ;INITARRAY-NOT: .section .ctors
28 ;CTOR: .section .ctors
/llvm-project-15.0.7/llvm/test/Linker/
H A Donly-needed-ctors1.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
H A Donly-needed-ctors2.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
H A Dctors.ll1 ; RUN: llvm-link %s %p/Inputs/ctors.ll -S -o - | \
3 ; RUN: llvm-link %p/Inputs/ctors.ll %s -S -o - | \
7 ; RUN: llvm-link %s %p/Inputs/ctors.ll -o %t.bc
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dctor.ll2 ; RUN: llc -march=hexagon < %s -use-ctors | FileCheck -check-prefix=CTOR %s
10 ;CTOR: .section .ctors
14 ;INITARRAY-NOT: .section .ctors
/llvm-project-15.0.7/llvm/test/CodeGen/SPARC/
H A Dconstructor.ll1 ; RUN: llc -mtriple sparc-sun-solaris2.11 -use-ctors < %s | FileCheck --check-prefix=CTOR %s
17 ; CTOR: .section .ctors,"aw"
20 ; CTOR-NEXT: .section .ctors.65520,"aGw"
H A D2008-10-10-InlineAsmRegOperand.ll5 module asm "\09.section\09.ctors,\22aw\22"
/llvm-project-15.0.7/lld/test/COFF/
H A Dctors_dtors_priority.s15 .section .ctors.00005, "w"
17 .section .ctors, "w"
19 .section .ctors.00100, "w"
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dglobal_ctors_dtors.ll1 ; Test that global ctors are emitted into the proper COFF section for the
2 ; target. Mingw uses .ctors, whereas MSVC uses .CRT$XC*.
59 ; MINGW32: .section .ctors,"dw"
61 ; MINGW32: .section .ctors,"dw",associative,{{_?}}b
/llvm-project-15.0.7/llvm/test/Instrumentation/SanitizerCoverage/
H A Dtrace-pc-guard-inline-8bit-counters.ll3 ; Module ctors should have stable names across modules, not something like
4 ; @sancov.module_ctor.3 that may cause duplicate ctors after linked together.
H A Dtrace-pc-guard-inline-bool-flag.ll3 ; Module ctors should have stable names across modules, not something like
4 ; @sancov.module_ctor.3 that may cause duplicate ctors after linked together.
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dctors.ll16 ; On x86-64 (linux) we should always emit .init_array and never .ctors.
18 ; CHECK-NOT: Name: .ctors
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dctor_order.ll13 ; ELF: .section .ctors.65384,"aw",%progbits
15 ; ELF: .section .ctors.65383,"aw",%progbits
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardingReferenceOverloadCheck.cpp122 for (const auto *OtherCtor : Ctor->getParent()->ctors()) { in check()
138 for (const auto *OtherCtor : Ctor->getParent()->ctors()) { in check()
/llvm-project-15.0.7/lld/test/ELF/Inputs/
H A Dctors_dtors_priority2.s1 .section .ctors, "aw", @progbits
H A Dctors_dtors_priority3.s1 .section .ctors, "aw", @progbits
H A Dctors_dtors_priority1.s1 .section .ctors, "aw", @progbits
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dinit-array.ll8 ; CHECK-NOT: .ctors
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DPassByValueCheck.cpp41 for (const CXXConstructorDecl *Ctor : Node.ctors()) { in AST_MATCHER()
169 for (const auto *Candidate : Record->ctors()) { in hasRValueOverload()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/Windows/
H A Dstructors.ll17 ; CHECK-GNU: .section .ctors,"dw"

123