comparison src/os/windows/vm/decoder_windows.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 b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6236:950ed41429e5 6258:3b01d0321dfa
43 ~WindowsDecoder() { uninitialize(); }; 43 ~WindowsDecoder() { uninitialize(); };
44 44
45 bool can_decode_C_frame_in_vm() const; 45 bool can_decode_C_frame_in_vm() const;
46 bool demangle(const char* symbol, char *buf, int buflen); 46 bool demangle(const char* symbol, char *buf, int buflen);
47 bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath = NULL); 47 bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath = NULL);
48 bool decode(address addr, char *buf, int buflen, int* offset, const void* base) {
49 ShouldNotReachHere();
50 return false;
51 }
48 52
49 private: 53 private:
50 void initialize(); 54 void initialize();
51 void uninitialize(); 55 void uninitialize();
52 56