Searched refs:weak (Results 1 - 25 of 225) sorted by relevance
123456789
/external/clang/test/PCH/ |
H A D | pragma-weak.h | 1 // Header for PCH test pragma-weak.c 3 #pragma weak weakvar 10 #pragma weak undeclaredvar
|
/external/clang/test/Parser/ |
H A D | pragma-weak.c | 7 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak 8 #pragma weak x 11 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak z = = 12 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak z = 13 /* expected-warning {{weak identifier 'y' never declared}} */ #pragma weak z = y 16 /* expected-warning {{extra tokens at end of '#pragma weak'}}*/ #pragm [all...] |
/external/clang/test/Modules/Inputs/ |
H A D | lookup_left.hpp | 3 #pragma weak weak_identifier // expected-warning{{weak identifier 'weak_identifier' never declared}}
|
/external/clang/test/Sema/ |
H A D | attr-self-alias.c | 3 int self_alias(void) __attribute__((weak, alias("self_alias"))); // expected-error {{alias definition is part of a cycle}}
|
H A D | attr-weak.c | 3 extern int g0 __attribute__((weak)); 5 int g2 __attribute__((weak)); 11 struct __attribute__((weak)) s0 {}; // expected-warning {{'weak' attribute only applies to variables and functions}} 14 static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 21 extern int pr14946_x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 24 void pr14946_f() __attribute__((weak)); // expected-error {{weak declaratio [all...] |
H A D | pragma-weak.c | 4 #pragma weak both3 = __both3 // expected-note {{previous definition}} 9 #pragma weak a3 = __a3 // expected-note {{previous definition}}
|
/external/clang/test/SemaCXX/ |
H A D | pragma-weak.cpp | 3 #pragma weak foo 11 #pragma weak test = Test
|
H A D | attr-weak.cpp | 3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 6 namespace test2 __attribute__((weak)) { // expected-warning {{'weak' attribute only applies to variables, functions and classes}} 10 int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 11 void test4() __attribute__((weak)); // expected-error {{weak declaratio [all...] |
/external/llvm/test/MC/ELF/ |
H A D | weak.s | 3 // Test that this produces a weak undefined symbol. 5 .weak foo 9 .weak bar
|
H A D | weak-relocation.s | 3 // Test that weak symbols always produce relocations 5 .weak foo
|
/external/swiftshader/third_party/LLVM/test/MC/ELF/ |
H A D | weak.s | 3 // Test that this produces a weak undefined symbol. 5 .weak foo 9 .weak bar
|
H A D | weak-relocation.s | 3 // Test that weak symbols always produce relocations 5 .weak foo
|
/external/clang/test/CodeGen/ |
H A D | global-decls.c | 4 extern int g0_ext __attribute__((weak)); 6 extern int __attribute__((weak)) g1_ext (void); 8 // RUN: grep '@g0_common = weak global i32' %t 9 int g0_common __attribute__((weak)); 11 // RUN: grep '@g0_def = weak global i32' %t 12 int g0_def __attribute__((weak)) = 52; 13 // RUN: grep 'define weak i32 @g1_def()' %t 14 int __attribute__((weak)) g1_def (void) { return 0; }
|
H A D | 2008-11-02-WeakAlias.c | 4 // CHECK: weak 5 void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
|
H A D | pragma-weak.c | 3 // CHECK: @weakvar = weak global 5 // CHECK: @correct_linkage = weak global 10 // CHECK-DAG: @weakvar_alias = weak alias i32, i32* @__weakvar_alias 11 // CHECK-DAG: @foo = weak alias void (), void ()* @__foo 12 // CHECK-DAG: @foo2 = weak alias void (), void ()* @__foo2 13 // CHECK-DAG: @stutter = weak alias void (), void ()* @__stutter 14 // CHECK-DAG: @stutter2 = weak alias void (), void ()* @__stutter2 15 // CHECK-DAG: @declfirst = weak alias void (), void ()* @__declfirst 16 // CHECK-DAG: @declfirstattr = weak alias void (), void ()* @__declfirstattr 17 // CHECK-DAG: @mix2 = weak alia [all...] |
H A D | 2008-07-29-override-alias-decl.c | 8 int f() __attribute__((weak, alias("x")));
|
H A D | unwind-attr.c | 19 // <rdar://problem/8283071>: not for weak functions 20 // CHECK: define weak [[INT:i.*]] @test2() [[TF]] { 21 // CHECK-NOEXC: define weak [[INT:i.*]] @test2() [[NUW]] { 22 __attribute__((weak)) int test2(void) {
|
H A D | weak-incomplete.c | 4 void __attribute__((weak)) foo1(struct S);
|
H A D | weak_constant.c | 4 const int x __attribute((weak)) = 123;
|
/external/llvm/test/MC/COFF/ |
H A D | weak-val.s | 4 // test that b and .weak.b have the correct values. 8 .weak b 21 // CHECK-NEXT: Linked: .weak.b.default (8) 26 // CHECK-NEXT: Name: .weak.b.default
|
H A D | weak-alias-local.s | 10 .weak a 31 // CHECK-NEXT: Linked: .weak.a.default (9) 36 // CHECK-NEXT: Name: .weak.a.default
|
/external/clang/test/Preprocessor/ |
H A D | ignore-pragmas.c | 9 #pragma weak
|
/external/clang/test/CodeGenCXX/ |
H A D | pragma-weak.cpp | 3 #pragma weak zex 5 // GCC produces a weak symbol for this because it matches mangled names. 10 #pragma weak foo 15 #pragma weak zed 19 #pragma weak bah 23 #pragma weak baz 25 // CHECK-LABEL: define weak {{.*}}void @baz( 27 #pragma weak _Z3baxv 29 // GCC produces a weak symbol for this one, but it doesn't look like a good
|
/external/llvm/test/Object/X86/ |
H A D | nm-coff.s | 9 .weak foo
|
/external/clang/test/Modules/Inputs/stress1/ |
H A D | merge00.h | 9 //#pragma weak pragma_weak01 // expected-warning {{weak identifier 'pragma_weak01' never declared}} 10 //#pragma weak pragma_weak04 // expected-warning {{weak identifier 'pragma_waek04' never declared}} 28 #pragma weak pragma_weak02 29 #pragma weak pragma_weak05
|
Completed in 672 milliseconds
123456789