Mercurial > hg > truffle
comparison src/os/posix/vm/os_posix.cpp @ 17805:bbfbe9b06038
Merge
author | kvn |
---|---|
date | Thu, 13 Mar 2014 14:57:01 -0700 |
parents | d1621038becf 2b8e28fdf503 |
children | bb9356ec5967 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17804:fd1b9f02cc91 | 17805:bbfbe9b06038 |
---|---|
268 | 268 |
269 FILE* os::open(int fd, const char* mode) { | 269 FILE* os::open(int fd, const char* mode) { |
270 return ::fdopen(fd, mode); | 270 return ::fdopen(fd, mode); |
271 } | 271 } |
272 | 272 |
273 void* os::get_default_process_handle() { | |
274 return (void*)::dlopen(NULL, RTLD_LAZY); | |
275 } | |
276 | |
277 // Builds a platform dependent Agent_OnLoad_<lib_name> function name | 273 // Builds a platform dependent Agent_OnLoad_<lib_name> function name |
278 // which is used to find statically linked in agents. | 274 // which is used to find statically linked in agents. |
279 // Parameters: | 275 // Parameters: |
280 // sym_name: Symbol in library we are looking for | 276 // sym_name: Symbol in library we are looking for |
281 // lib_name: Name of library to look in, NULL for shared libs. | 277 // lib_name: Name of library to look in, NULL for shared libs. |