Mercurial > hg > truffle
diff src/os/linux/vm/os_linux.cpp @ 17805:bbfbe9b06038
Merge
author | kvn |
---|---|
date | Thu, 13 Mar 2014 14:57:01 -0700 |
parents | 935bf3340572 d1621038becf |
children | 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Mon Mar 10 12:58:02 2014 +0100 +++ b/src/os/linux/vm/os_linux.cpp Thu Mar 13 14:57:01 2014 -0700 @@ -2109,6 +2109,9 @@ return res; } +void* os::get_default_process_handle() { + return (void*)::dlopen(NULL, RTLD_LAZY); +} static bool _print_ascii_file(const char* filename, outputStream* st) { int fd = ::open(filename, O_RDONLY);