diff 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
line wrap: on
line diff
--- a/src/share/vm/utilities/decoder_elf.hpp	Thu Jul 19 06:24:46 2012 -0700
+++ b/src/share/vm/utilities/decoder_elf.hpp	Mon Jul 30 10:25:52 2012 -0400
@@ -43,6 +43,10 @@
 
   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 void *base) {
+    ShouldNotReachHere();
+    return false;
+  }
 
 private:
   ElfFile*         get_elf_file(const char* filepath);