mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode Reviewed-by: dholmes, simonis
This commit is contained in:
parent
e720ad23ac
commit
a6a13b5344
16 changed files with 70 additions and 52 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -42,7 +42,7 @@ public:
|
|||
bool can_decode_C_frame_in_vm() const { return true; }
|
||||
|
||||
bool demangle(const char* symbol, char *buf, int buflen);
|
||||
bool decode(address addr, char *buf, int buflen, int* offset, const char* filepath = NULL);
|
||||
bool decode(address addr, char *buf, int buflen, int* offset, const char* filepath, bool demangle);
|
||||
bool decode(address addr, char *buf, int buflen, int* offset, const void *base) {
|
||||
ShouldNotReachHere();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue