/external/llvm-project/llvm/test/Instrumentation/AddressSanitizer/ |
D | with-ifunc.ll | 1 ; 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/llvm-project/clang/test/Sema/ |
D | attr-ifunc.c | 7 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/clang/test/Sema/ |
D | attr-ifunc.c | 7 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/lld/test/ELF/ |
D | x86-64-gotpc-relax.s | 21 # 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 …]
|
D | gnu-ifunc-canon.s | 75 lea ifunc@gotpcrel(%rip), %rbx 77 .type ifunc STT_GNU_IFUNC 78 .globl ifunc symbol 79 ifunc: label 83 .8byte ifunc
|
D | aarch64-gnu-ifunc-nonpreemptable2.s | 8 ## 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
|
D | textrel.s | 4 # 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
|
D | ppc32-canonical-plt.s | 19 # 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)
|
D | canonical-plt-pcrel.s | 20 # CHECK-NEXT: R_X86_64_JUMP_SLOT ifunc 0x0 26 # DISASM-NEXT: callq {{.*}} <ifunc@plt> 33 .long ifunc - . -4 # STT_GNU_IFUNC
|
D | ppc64-toc-relax-ifunc.s | 11 ## 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
|
D | i386-feature-cet.s | 45 # DISASM-NEXT: 401205: calll 0x401240 <ifunc> 68 # DISASM: 00401240 <ifunc>: 88 call ifunc 91 .type ifunc,@gnu_indirect_function 92 ifunc: label
|
/external/llvm/test/Assembler/ |
D | ifunc-use-list-order.ll | 3 ; 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
|
/external/llvm-project/llvm/test/Assembler/ |
D | ifunc-use-list-order.ll | 3 ; 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
|
D | ifunc-dsolocal.ll | 3 @foo = dso_local ifunc i32 (i32), i64 ()* @foo_ifunc 4 ; CHECK: @foo = dso_local ifunc i32 (i32), i64 ()* @foo_ifunc
|
/external/rust/crates/memchr/src/x86/ |
D | mod.rs | 31 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/ |
D | canonical-plt-pcrel.s | 1 .globl func, func2, ifunc 4 .type ifunc, @gnu_indirect_function 7 ifunc: label
|
/external/llvm-project/llvm/test/Transforms/GlobalDCE/ |
D | comdats.ll | 27 ; 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/ |
D | target-in-same-section.s | 12 # 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/ |
D | semantic-interposition-infer-dsolocal.ll | 8 @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/ |
D | dosemantics03.f90 | 42 FUNCTION ifunc() 43 END FUNCTION ifunc 45 PROCEDURE(ifunc), POINTER :: pifunc => NULL() 120 DO ifunc = 1, 10, 3
|
D | data05.f90 | 4 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/ |
D | symbol-partition.cpp | 21 void ifunc() __attribute__((ifunc("f")));
|
/external/llvm-project/clang/test/CodeGen/ |
D | ifunc.c | 4 int foo(int) __attribute__ ((ifunc("foo_ifunc"))); 32 extern void goo(void) __attribute__ ((ifunc("goo_ifunc")));
|
/external/clang/test/CodeGen/ |
D | ifunc.c | 4 int foo(int) __attribute__ ((ifunc("foo_ifunc"))); 32 extern void goo(void) __attribute__ ((ifunc("goo_ifunc")));
|
/external/llvm-project/llvm/test/Instrumentation/HWAddressSanitizer/ |
D | prologue.ll | 1 ; Test -hwasan-with-ifunc flag. 5 ; RUN: opt -hwasan -S -hwasan-with-ifunc=0 -hwasan-with-tls=1 -hwasan-record-stack-history=1 < %s |… 7 ; RUN: opt -hwasan -S -hwasan-with-ifunc=0 -hwasan-with-tls=1 -hwasan-record-stack-history=0 < %s |… 9 ; RUN: opt -hwasan -S -hwasan-with-ifunc=0 -hwasan-with-tls=0 < %s | \ 11 ; RUN: opt -hwasan -S -hwasan-with-ifunc=1 -hwasan-with-tls=0 < %s | \
|