mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
elfparser: switch to char
This commit is contained in:
@ -21,13 +21,16 @@
|
|||||||
|
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
|
|
||||||
gchar *
|
char *
|
||||||
sysprof_cplus_demangle (const gchar *name)
|
sysprof_cplus_demangle (const char *name)
|
||||||
{
|
{
|
||||||
char *real_name;
|
char *real_name;
|
||||||
gchar *ret;
|
char *ret;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
|
if (name == NULL)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
real_name = abi::__cxa_demangle (name, 0, 0, &status);
|
real_name = abi::__cxa_demangle (name, 0, 0, &status);
|
||||||
|
|
||||||
if (real_name == NULL)
|
if (real_name == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user