1 $NetBSD: patch-hotspot_src_os_solaris_vm_decoder__solaris.cpp,v 1.1 2015/07/03 20:40:59 fhajny Exp $
3 Avoid libdemangle with GCC.
5 --- hotspot/src/os/solaris/vm/decoder_solaris.cpp.orig 2013-02-19 23:21:59.000000000 +0000
6 +++ hotspot/src/os/solaris/vm/decoder_solaris.cpp
10 bool ElfDecoder::demangle(const char* symbol, char *buf, int buflen) {
12 return !cplus_demangle(symbol, buf, (size_t)buflen);
14 + memcpy(buf, symbol, (size_t)buflen);