src/os/linux/vm/decoder_linux.cpp

Print this page

        

@@ -21,15 +21,15 @@
  * questions.
  *
  */
 
 #include "prims/jvm.h"
-#include "utilities/decoder.hpp"
+#include "utilities/decoder_elf.hpp"
 
 #include <cxxabi.h>
 
-bool Decoder::demangle(const char* symbol, char *buf, int buflen) {
+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,5 +41,6 @@
       ::free(result);
       return true;
   }
   return false;
 }
+