src/os/linux/vm/decoder_linux.cpp

Print this page

        

*** 21,35 **** * questions. * */ #include "prims/jvm.h" ! #include "utilities/decoder.hpp" #include <cxxabi.h> ! bool Decoder::demangle(const char* symbol, char *buf, int buflen) { int status; char* result; size_t size = (size_t)buflen; // Don't pass buf to __cxa_demangle. In case of the 'buf' is too small, --- 21,35 ---- * questions. * */ #include "prims/jvm.h" ! #include "utilities/decoder_elf.hpp" #include <cxxabi.h> ! bool ElfDecoder::demangle(const char* symbol, char *buf, int buflen) { int status; char* result; size_t size = (size_t)buflen; // Don't pass buf to __cxa_demangle. In case of the 'buf' is too small,
*** 41,45 **** --- 41,46 ---- ::free(result); return true; } return false; } +