equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
40 ~ElfDecoder(); |
40 ~ElfDecoder(); |
41 |
41 |
42 bool can_decode_C_frame_in_vm() const { return true; } |
42 bool can_decode_C_frame_in_vm() const { return true; } |
43 |
43 |
44 bool demangle(const char* symbol, char *buf, int buflen); |
44 bool demangle(const char* symbol, char *buf, int buflen); |
45 bool decode(address addr, char *buf, int buflen, int* offset, const char* filepath = NULL); |
45 bool decode(address addr, char *buf, int buflen, int* offset, const char* filepath, bool demangle); |
46 bool decode(address addr, char *buf, int buflen, int* offset, const void *base) { |
46 bool decode(address addr, char *buf, int buflen, int* offset, const void *base) { |
47 ShouldNotReachHere(); |
47 ShouldNotReachHere(); |
48 return false; |
48 return false; |
49 } |
49 } |
50 |
50 |