search for: dl_sym

Displaying 2 results from an estimated 2 matches for "dl_sym".

Did you mean: ll_sym
2007 Jul 20
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
...LL is returned. > > And lt_dlerror() also appears to have the same behaviour as its non-lt_ > counterpart, so you'd think you'd have to do the same as above; use > lt_dlerror(). > > However, it appears things like libtool's > > static lt_ptr > sys_dl_sym (loader_data, module, symbol) > lt_user_data loader_data; > lt_module module; > const char *symbol; > { > lt_ptr address = dlsym (module, symbol); > > if (!address) > { > LT_DLMUTEX_SETERROR (DLERROR (SYMBOL_NO...
2007 Jul 20
2
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
...ed. If the symbol cannot be found, NULL is returned. And lt_dlerror() also appears to have the same behaviour as its non-lt_ counterpart, so you'd think you'd have to do the same as above; use lt_dlerror(). However, it appears things like libtool's static lt_ptr sys_dl_sym (loader_data, module, symbol) lt_user_data loader_data; lt_module module; const char *symbol; { lt_ptr address = dlsym (module, symbol); if (!address) { LT_DLMUTEX_SETERROR (DLERROR (SYMBOL_NOT_FOUND)); } return address;...