提交 bfb87579 编写于 作者: Z zgu

7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X

Summary: Decoder API changes did not reflect in os_bsd
Reviewed-by: kamg, dcubed
上级 ff7d3635
......@@ -1920,7 +1920,7 @@ bool os::dll_address_to_function_name(address addr, char *buf,
return true;
} else if (dlinfo.dli_fname != NULL && dlinfo.dli_fbase != 0) {
if (Decoder::decode((address)(addr - (address)dlinfo.dli_fbase),
dlinfo.dli_fname, buf, buflen, offset) == Decoder::no_error) {
buf, buflen, offset, dlinfo.dli_fname)) {
return true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册