diff options
Diffstat (limited to 'extern/glog/src/symbolize.h')
-rw-r--r-- | extern/glog/src/symbolize.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/extern/glog/src/symbolize.h b/extern/glog/src/symbolize.h index f617184249c..c6f9ec4360e 100644 --- a/extern/glog/src/symbolize.h +++ b/extern/glog/src/symbolize.h @@ -116,8 +116,11 @@ _START_GOOGLE_NAMESPACE_ // counter "pc". The callback function should write output to "out" // and return the size of the output written. On error, the callback // function should return -1. -typedef int (*SymbolizeCallback)(int fd, void *pc, char *out, size_t out_size, - uint64 relocation); +typedef int (*SymbolizeCallback)(int fd, + void* pc, + char* out, + size_t out_size, + uint64_t relocation); void InstallSymbolizeCallback(SymbolizeCallback callback); // Installs a callback function, which will be called instead of @@ -131,9 +134,9 @@ void InstallSymbolizeCallback(SymbolizeCallback callback); // returns -1. |out_file_name_size| is the size of the file name buffer // (including the null-terminator). typedef int (*SymbolizeOpenObjectFileCallback)(uint64_t pc, - uint64_t &start_address, - uint64_t &base_address, - char *out_file_name, + uint64_t& start_address, + uint64_t& base_address, + char* out_file_name, int out_file_name_size); void InstallSymbolizeOpenObjectFileCallback( SymbolizeOpenObjectFileCallback callback); @@ -148,7 +151,7 @@ _START_GOOGLE_NAMESPACE_ // symbol name to "out". The symbol name is demangled if possible // (supports symbols generated by GCC 3.x or newer). Otherwise, // returns false. -bool Symbolize(void *pc, char *out, int out_size); +GOOGLE_GLOG_DLL_DECL bool Symbolize(void *pc, char *out, int out_size); _END_GOOGLE_NAMESPACE_ |