src/share/vm/utilities/decoder.hpp

changeset 3156
f08d439fab8c
parent 2364
2d4762ec74af
child 3430
d7e3846464d0
     1.1 --- a/src/share/vm/utilities/decoder.hpp	Tue Sep 20 23:50:16 2011 -0700
     1.2 +++ b/src/share/vm/utilities/decoder.hpp	Sun Sep 25 16:03:29 2011 -0700
     1.3 @@ -38,6 +38,8 @@
     1.4  typedef BOOL  (WINAPI *pfn_SymGetSymFromAddr64)(HANDLE, DWORD64, PDWORD64, PIMAGEHLP_SYMBOL64);
     1.5  typedef DWORD (WINAPI *pfn_UndecorateSymbolName)(const char*, char*, DWORD, DWORD);
     1.6  
     1.7 +#elif defined(__APPLE__)
     1.8 +
     1.9  #else
    1.10  
    1.11  class ElfFile;
    1.12 @@ -79,7 +81,7 @@
    1.13  
    1.14    static decoder_status    get_status() { return _decoder_status; };
    1.15  
    1.16 -#ifndef _WINDOWS
    1.17 +#if !defined(_WINDOWS) && !defined(__APPLE__)
    1.18   private:
    1.19    static ElfFile*         get_elf_file(const char* filepath);
    1.20  #endif // _WINDOWS
    1.21 @@ -94,6 +96,7 @@
    1.22    static bool                      _can_decode_in_vm;
    1.23    static pfn_SymGetSymFromAddr64   _pfnSymGetSymFromAddr64;
    1.24    static pfn_UndecorateSymbolName  _pfnUndecorateSymbolName;
    1.25 +#elif __APPLE__
    1.26  #else
    1.27    static ElfFile*                  _opened_elf_files;
    1.28  #endif // _WINDOWS

mercurial