Home
last modified time | relevance | path

Searched refs:ifunc (Results 1 – 25 of 87) sorted by relevance

1234

/external/llvm-project/llvm/test/Instrumentation/AddressSanitizer/
Dwith-ifunc.ll1 ; Test -asan-with-ifunc flag.
3 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=0 < %s -enable-new-pm=0 | \
5 ; RUN: opt -passes='asan-pipeline' -S -asan-with-ifunc=0 < %s | \
7 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 < %s -enable-…
9 ; RUN: opt -passes='asan-pipeline' -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 < %s | \
11 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=1 < %s -enable-…
13 ; RUN: opt -passes='asan-pipeline' -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=1 < %s | \
16 ; Pre-Lollipop Android does not support ifunc.
17 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 -mtriple=armv…
19 ; RUN: opt -passes='asan-pipeline' -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 -mtriple…
[all …]
/external/clang/test/Sema/
Dattr-ifunc.c7 void bar() __attribute__((ifunc("foo")));
13 void f1() __attribute__((ifunc("f1_ifunc")));
16 void* f2_a() __attribute__((ifunc("f2_b")));
18 void* f2_b() __attribute__((ifunc("f2_a")));
21 void* f3_a() __attribute__((ifunc("f3_b")));
27 void f4() __attribute__((ifunc("f4_ifunc")));
31 void f5() __attribute__((ifunc("f5_ifunc")));
38 void f1() __attribute__((ifunc("f1_ifunc")));
/external/llvm-project/clang/test/Sema/
Dattr-ifunc.c7 void bar() __attribute__((ifunc("foo")));
13 void f1() __attribute__((ifunc("f1_ifunc")));
16 void* f2_a() __attribute__((ifunc("f2_b")));
18 void* f2_b() __attribute__((ifunc("f2_a")));
21 void* f3_a() __attribute__((ifunc("f3_b")));
27 void f4() __attribute__((ifunc("f4_ifunc")));
34 void f1() __attribute__((ifunc("f1_ifunc")));
39 void __attribute__((ifunc("f6_ifunc"))) f6() {} in f6()
/external/llvm-project/lld/test/ELF/
Dx86-64-gotpc-relax.s21 # DISASM: <ifunc>:
66 .type ifunc STT_GNU_IFUNC
67 .globl ifunc symbol
68 .type ifunc, @function
69 ifunc: label
79 movq ifunc@GOTPCREL(%rip), %rax
80 movq ifunc@GOTPCREL(%rip), %rax
85 movq ifunc@GOTPCREL(%rip), %rax
86 movq ifunc@GOTPCREL(%rip), %rax
92 call *ifunc@GOTPCREL(%rip)
[all …]
Dgnu-ifunc-canon.s75 lea ifunc@gotpcrel(%rip), %rbx
77 .type ifunc STT_GNU_IFUNC
78 .globl ifunc symbol
79 ifunc: label
83 .8byte ifunc
Daarch64-gnu-ifunc-nonpreemptable2.s8 ## ifunc is a non-preemptable STT_GNU_IFUNC. Check we create a canonical PLT
13 # SEC: 0000000000210180 0 FUNC GLOBAL DEFAULT 4 ifunc
25 .globl ifunc symbol
26 .type ifunc,@gnu_indirect_function
27 ifunc: label
32 .xword ifunc
36 .xword ifunc
Dtextrel.s4 # Without --warn-text-ifunc, lld should run fine:
7 # With --warn-text-ifunc, lld should run with warnings:
8 # RUN: ld.lld --warn-ifunc-textrel -z notext %t.o -o /dev/null 2>&1 | FileCheck %s
9 # CHECK: using ifunc symbols when text relocations are allowed may produce
13 # CHECK-SAME: without -Wl,-z,notext option. Use -no-warn-ifunc-textrel to
Dppc32-canonical-plt.s19 # REL-NEXT: 0x10030320 R_PPC_JMP_SLOT ifunc 0x0
29 # SYM: 1001024c 0 FUNC GLOBAL DEFAULT UND ifunc
33 # SYM: 1001024c 0 FUNC GLOBAL DEFAULT UND ifunc
52 ## Canonical PLT entry of ifunc.
84 lis 4, ifunc@ha
85 la 4, ifunc@l(4)
Dcanonical-plt-pcrel.s20 # CHECK-NEXT: R_X86_64_JUMP_SLOT ifunc 0x0
26 # DISASM-NEXT: callq {{.*}} <ifunc@plt>
33 .long ifunc - . -4 # STT_GNU_IFUNC
Dppc64-toc-relax-ifunc.s11 ## ifunc is a non-preemptable STT_GNU_IFUNC. The R_PPC64_ADDR64 in .toc
18 # SEC: 00000000100101e8 0 FUNC GLOBAL DEFAULT 3 ifunc
34 .quad ifunc
Di386-feature-cet.s45 # DISASM-NEXT: 401205: calll 0x401240 <ifunc>
68 # DISASM: 00401240 <ifunc>:
88 call ifunc
91 .type ifunc,@gnu_indirect_function
92 ifunc: label
/external/llvm-project/llvm/test/Assembler/
Difunc-use-list-order.ll3 ; Global referencing ifunc.
6 ; Alias for ifunc.
9 @foo_ifunc = ifunc void (), i8* ()* @foo_resolver
16 ; Function referencing ifunc.
29 @bar_ifunc = ifunc void (), i8* ()* @bar2_ifunc
30 @bar2_ifunc = ifunc i8* (), i8* ()* @bar_resolver
Difunc-dsolocal.ll3 @foo = dso_local ifunc i32 (i32), i64 ()* @foo_ifunc
4 ; CHECK: @foo = dso_local ifunc i32 (i32), i64 ()* @foo_ifunc
/external/llvm/test/Assembler/
Difunc-use-list-order.ll3 ; Global referencing ifunc.
6 ; Alias for ifunc.
9 @foo_ifunc = ifunc void (), i8* ()* @foo_resolver
16 ; Function referencing ifunc.
29 @bar_ifunc = ifunc void (), i8* ()* @bar2_ifunc
30 @bar2_ifunc = ifunc i8* (), i8* ()* @bar_resolver
Difunc-asm.ll5 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
6 ; CHECK: @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
/external/rust/crates/memchr/src/x86/
Dmod.rs31 macro_rules! ifunc { macro
67 macro_rules! ifunc { macro
79 ifunc!(fn(u8, &[u8]) -> Option<usize>, memchr, haystack, n1) in memchr()
84 ifunc!(fn(u8, u8, &[u8]) -> Option<usize>, memchr2, haystack, n1, n2) in memchr2()
89 ifunc!( in memchr3()
101 ifunc!(fn(u8, &[u8]) -> Option<usize>, memrchr, haystack, n1) in memrchr()
106 ifunc!(fn(u8, u8, &[u8]) -> Option<usize>, memrchr2, haystack, n1, n2) in memrchr2()
111 ifunc!( in memrchr3()
/external/llvm-project/lld/test/ELF/Inputs/
Dcanonical-plt-pcrel.s1 .globl func, func2, ifunc
4 .type ifunc, @gnu_indirect_function
7 ifunc: label
/external/llvm-project/llvm/test/Transforms/GlobalDCE/
Dcomdats.ll27 ; the resolver of an ifunc doesn't preserve that ifunc. ifunc symbols don't
33 ; Sixth test checks that calling an ifunc whose resolver is in a comdat group
34 ; preserves the resolver. This is the trivial case as the ifunc uses the
54 ; thus the entire ifunc can safely be eliminated.
85 @test5_if = linkonce_odr ifunc void (), void ()* ()* @test5_f
88 @test6_if = linkonce_odr ifunc void (), void ()* ()* @test6_f
89 ; CHECK: @test6_if = linkonce_odr ifunc
104 ; Now test that a function, global variable, alias, and ifunc in the same
/external/llvm-project/llvm/test/MC/ELF/
Dtarget-in-same-section.s12 # RELOC-NEXT: 0x23 R_X86_64_PLT32 ifunc 0xFFFFFFFFFFFFFFFC
28 .type ifunc,@gnu_indirect_function
33 ifunc: label
44 call ifunc
/external/llvm-project/llvm/test/CodeGen/X86/
Dsemantic-interposition-infer-dsolocal.ll8 @ifunc = ifunc i32 (), bitcast (i32 ()* ()* @ifunc_resolver to i32 ()*)
30 ; CHECK: callq ifunc@PLT
36 %call1 = tail call i32 @ifunc()
/external/llvm-project/flang/test/Semantics/
Ddosemantics03.f9042 FUNCTION ifunc()
43 END FUNCTION ifunc
45 PROCEDURE(ifunc), POINTER :: pifunc => NULL()
120 DO ifunc = 1, 10, 3
Ddata05.f904 integer function ifunc(n)
22 procedure(ifunc), pointer, nopass :: ifptr
28 …procedure(ifunc), pointer :: ifptr ! CHECK: ifptr, EXTERNAL, POINTER (Function, InDataStmt) size=2…
29 data ifptr/ifunc/
/external/llvm-project/clang/test/CodeGenCXX/
Dsymbol-partition.cpp21 void ifunc() __attribute__((ifunc("f")));
/external/clang/test/CodeGen/
Difunc.c4 int foo(int) __attribute__ ((ifunc("foo_ifunc")));
32 extern void goo(void) __attribute__ ((ifunc("goo_ifunc")));
/external/llvm-project/clang/test/CodeGen/
Difunc.c4 int foo(int) __attribute__ ((ifunc("foo_ifunc")));
32 extern void goo(void) __attribute__ ((ifunc("goo_ifunc")));

1234