comparison src/share/vm/utilities/decoder_elf.hpp @ 6258:3b01d0321dfa

7186778: MachO decoder implementation for MacOSX Summary: Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls. Reviewed-by: coleenp, kamg, kevinw
author zgu
date Mon, 30 Jul 2012 10:25:52 -0400
parents db006a85bf91
children e7cbc95179c4
comparison
equal deleted inserted replaced
6236:950ed41429e5 6258:3b01d0321dfa
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 = NULL);
46 bool decode(address addr, char *buf, int buflen, int* offset, const void *base) {
47 ShouldNotReachHere();
48 return false;
49 }
46 50
47 private: 51 private:
48 ElfFile* get_elf_file(const char* filepath); 52 ElfFile* get_elf_file(const char* filepath);
49 53
50 private: 54 private: