src/os/windows/vm/os_windows.cpp
Print this page
*** 1387,1397 ****
}
}
bool os::dll_address_to_function_name(address addr, char *buf,
int buflen, int *offset) {
! if (Decoder::decode(addr, buf, buflen, offset) == Decoder::no_error) {
return true;
}
if (offset != NULL) *offset = -1;
if (buf != NULL) buf[0] = '\0';
return false;
--- 1387,1397 ----
}
}
bool os::dll_address_to_function_name(address addr, char *buf,
int buflen, int *offset) {
! if (Decoder::decode(addr, buf, buflen, offset)) {
return true;
}
if (offset != NULL) *offset = -1;
if (buf != NULL) buf[0] = '\0';
return false;