hotspot/src/share/vm/runtime/os.hpp
changeset 31352 a6ab7217b5cc
parent 31335 60081f497e75
child 31357 0cef600ba9b7
equal deleted inserted replaced
31351:aae7db185576 31352:a6ab7217b5cc
   537   // dladdr() for all platforms. Name of the nearest function is copied
   537   // dladdr() for all platforms. Name of the nearest function is copied
   538   // to buf. Distance from its base address is optionally returned as offset.
   538   // to buf. Distance from its base address is optionally returned as offset.
   539   // If function name is not found, buf[0] is set to '\0' and offset is
   539   // If function name is not found, buf[0] is set to '\0' and offset is
   540   // set to -1 (if offset is non-NULL).
   540   // set to -1 (if offset is non-NULL).
   541   static bool dll_address_to_function_name(address addr, char* buf,
   541   static bool dll_address_to_function_name(address addr, char* buf,
   542                                            int buflen, int* offset);
   542                                            int buflen, int* offset,
       
   543                                            bool demangle = true);
   543 
   544 
   544   // Locate DLL/DSO. On success, full path of the library is copied to
   545   // Locate DLL/DSO. On success, full path of the library is copied to
   545   // buf, and offset is optionally set to be the distance between addr
   546   // buf, and offset is optionally set to be the distance between addr
   546   // and the library's base address. On failure, buf[0] is set to '\0'
   547   // and the library's base address. On failure, buf[0] is set to '\0'
   547   // and offset is set to -1 (if offset is non-NULL).
   548   // and offset is set to -1 (if offset is non-NULL).