Searched refs:RTLD_SELF (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlsym-RTLD_SELF/
H A Dtest.c36 #ifdef RTLD_SELF
37 if ( dlsym(RTLD_SELF, "foo") != &foo )
38 FAIL("dlsym(RTLD_SELF, \"foo\") returned wrong value");
H A Dmain.c34 /// Both test.bundle and test.dylib call dlsym(RTLD_SELF, "foo");
72 if ( dlsym(RTLD_SELF, "foo") != &foo ) {
73 FAIL("dlsym(RTLD_SELF, \"foo\") returned wrong value");
76 PASS("dlsym-RTLD_SELF bundle and dylib");
/macosx-10.10.1/dyld-353.2.1/include/
H A Ddlfcn.h80 #define RTLD_SELF ((void *) -3) /* Search this and subsequent objects (Mac OS X 10.5 and later) */ macro
/macosx-10.10.1/dyld-353.2.1/src/
H A DdyldAPIs.cpp1713 if ( handle == RTLD_SELF ) {
1721 const char* str = dyld::mkstringf("dlsym(RTLD_SELF, %s): symbol not found", symbolName);

Completed in 189 milliseconds