OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:weak
(Results
1 - 25
of
165
) sorted by null
1
2
3
4
5
6
7
/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/Modules/Inputs/
lookup_left.hpp
3
#pragma
weak
weak_identifier // expected-warning{{
weak
identifier 'weak_identifier' never declared}}
/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; }
2008-11-02-WeakAlias.c
4
// CHECK:
weak
5
void init_IRQ(void) __attribute__((
weak
, alias("native_init_IRQ")));
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);
weak_constant.c
4
const int x __attribute((
weak
)) = 123;
PR2743-reference-missing-static.c
15
void e2() __attribute__((
weak
));
extern-weak.c
8
void foo() __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;
attributes.c
4
// CHECK: @t5 =
weak
global i32 2
5
int t5 __attribute__((
weak
)) = 2;
29
// CHECK: @t9 = alias
weak
bitcast (void ()* @__t8 to void (...)*)
31
void t9() __attribute__((
weak
, alias("__t8")));
47
// CHECK: define
weak
void @t3() nounwind {
48
void t3() __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/kernel-headers/original/asm-generic/
sections.h
11
extern char _sextratext[] __attribute__((
weak
));
12
extern char _eextratext[] __attribute__((
weak
));
/frameworks/compile/libbcc/lib/ExecutionEngine/
RuntimeStub.c
87
__attribute__((
weak
, alias("__fixunssfsi")));
/external/valgrind/main/drd/tests/
unified_annotations.h
30
void __attribute__((
weak
,noinline))
36
void __attribute__((
weak
,noinline))
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
libc-lock.h
525
/* Make the pthread functions
weak
so that we can elide them from
559
# pragma
weak
__pthread_mutex_init
560
# pragma
weak
__pthread_mutex_destroy
561
# pragma
weak
__pthread_mutex_lock
562
# pragma
weak
__pthread_mutex_trylock
563
# pragma
weak
__pthread_mutex_unlock
564
# pragma
weak
__pthread_mutexattr_init
565
# pragma
weak
__pthread_mutexattr_destroy
566
# pragma
weak
__pthread_mutexattr_settype
567
# pragma
weak
__pthread_rwlock_destro
[
all
...]
Completed in 404 milliseconds
1
2
3
4
5
6
7