Mercurial > hg > truffle
diff src/os/solaris/vm/os_solaris.cpp @ 16719:b1911c1e44c8
Dump disassembly in crash log
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 07 Aug 2014 11:06:09 -0700 |
parents | 4ca6dc0799b6 |
children | 3eed8712d410 |
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp Thu Aug 07 11:05:12 2014 -0700 +++ b/src/os/solaris/vm/os_solaris.cpp Thu Aug 07 11:06:09 2014 -0700 @@ -4379,6 +4379,10 @@ return fetcher.result(); } +address os::get_pc(void* context) { + ucontext_t *uc = (ucontext_t*)context; + return os::Solaris::ucontext_get_pc(uc); +} // This does not do anything on Solaris. This is basically a hook for being // able to use structured exception handling (thread-local exception filters) on, e.g., Win32.