HomeSort by relevance Sort by last modified time
    Searched refs:weak (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /external/clang/test/PCH/
pragma-weak.h 1 // Header for PCH test pragma-weak.c
3 #pragma weak weakvar
10 #pragma weak undeclaredvar
  /external/clang/test/Parser/
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'}}*/ #pragma weak a
    [all...]
  /external/clang/test/SemaCXX/
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 and functions}}
10 int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
11 void test4() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}
    [all...]
  /external/llvm/test/MC/ELF/
weak.s 3 // Test that this produces a weak undefined symbol.
5 .weak foo
9 .weak bar
weak-relocation.s 3 // Test that weak symbols always produce relocations
5 .weak foo
alias-reloc.s 14 .weak foo2
16 .weak bar2
  /external/clang/test/CodeGen/
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; }
pragma-weak.c 3 // CHECK: @weakvar = weak global
5 // CHECK: @correct_linkage = weak global
10 // CHECK: @both3 = alias weak void ()* @__both3
11 // CHECK: @a3 = alias weak void ()* @__a3
12 // CHECK: @weakvar_alias = alias weak i32* @__weakvar_alias
13 // CHECK: @foo = alias weak void ()* @__foo
14 // CHECK: @foo2 = alias weak void ()* @__foo2
15 // CHECK: @stutter = alias weak void ()* @__stutter
16 // CHECK: @stutter2 = alias weak void ()* @__stutter2
17 // CHECK: @declfirst = alias weak void ()* @__declfirs
    [all...]
2008-07-29-override-alias-decl.c 8 int f() __attribute__((weak, alias("x")));
unwind-attr.c 19 // <rdar://problem/8283071>: not for weak functions
20 // CHECK: define weak [[INT:i.*]] @test2() {
21 // CHECK-NOEXC: define weak [[INT:i.*]] @test2() nounwind {
22 __attribute__((weak)) int test2(void) {
weak-incomplete.c 4 void __attribute__((weak)) foo1(struct S);
PR2743-reference-missing-static.c 15 void e2() __attribute__((weak));
global-init.c 10 // This should get normal weak linkage.
11 int c __attribute__((weak))= 0;
12 // CHECK: @c = weak global i32 0
18 const int d __attribute__((weak))= 0;
  /external/llvm/test/FrontendC/
2008-11-02-WeakAlias.c 1 // RUN: %llvmgcc -S -o - %s | grep weak
4 void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
weak_constant.c 4 const int x __attribute((weak)) = 123;
2007-04-11-InlineStorageClassC89.c 2 // RUN: grep weak | count 1
4 // RUN: grep weak | count 1
6 // RUN: grep xWeaknoinline | grep weak | count 1
8 // RUN: grep xWeakextnoinline | grep weak | count 1
10 // RUN: grep xglobnoWeak | grep -v internal | grep -v weak | \
15 // RUN: grep xextnoWeak | grep available_externally | grep -v weak | \
17 inline int xglobWeak(int) __attribute__((weak));
21 inline int xextWeak(int) __attribute__((weak));
25 int xWeaknoinline(int) __attribute__((weak));
29 int xWeakextnoinline(int) __attribute__((weak));
    [all...]
2007-04-11-InlineStorageClassC99.c 4 // RUN: grep xextWeak | grep weak | count 1
6 // RUN: grep xWeaknoinline | grep weak | count 1
8 // RUN: grep xWeakextnoinline | grep weak | count 1
10 // RUN: grep xglobnoWeak | grep available_externally | grep -v weak | \
15 // RUN: grep xextnoWeak | grep -v available_externally | grep -v weak | \
17 inline int xglobWeak(int) __attribute__((weak));
21 inline int xextWeak(int) __attribute__((weak));
25 int xWeaknoinline(int) __attribute__((weak));
29 int xWeakextnoinline(int) __attribute__((weak));
extern-weak.c 8 void foo() __attribute__((weak));
  /external/clang/test/Sema/
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}}
attr-decl-after-definition.c 13 int bar __attribute__((weak));
15 extern int bar __attribute__((weak));
17 int bar __attribute__((weak)); // expected-warning {{must precede definition}}
  /external/valgrind/unittest/
test_utils.cc 30 const char *ThreadSanitizerQuery(const char *query) __attribute__((weak));
  /external/llvm/test/FrontendC++/
2007-04-11-InlineStorageClassC++.cpp 6 // RUN: grep xWeaknoinline | grep weak | count 1
8 // RUN: grep xWeakextnoinline | grep weak | count 1
15 inline int xglobWeak(int) __attribute__((weak));
19 inline int xextWeak(int) __attribute__((weak));
23 int xWeaknoinline(int) __attribute__((weak));
27 int xWeakextnoinline(int) __attribute__((weak));
  /external/kernel-headers/original/asm-generic/
sections.h 11 extern char _sextratext[] __attribute__((weak));
12 extern char _eextratext[] __attribute__((weak));
  /external/llvm/test/MC/AsmParser/
labels.s 38 // CHECK: .weak "a 4"
39 .weak "a 4"
  /frameworks/compile/libbcc/lib/ExecutionEngine/
RuntimeStub.c 87 __attribute__((weak, alias("__fixunssfsi")));

Completed in 451 milliseconds

1 2 3 4 5 6