Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 19:43:32 -0700
From:      Rui Paulo <rpaulo@felyko.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        freebsd-toolchain@freebsd.org, Ryan Stone <rysto32@gmail.com>
Subject:   Re: abi::__cxa_demangle provides invalid result on non-mangled symbols
Message-ID:  <E7265231-E514-414B-93F1-3F3746611AB0@felyko.com>
In-Reply-To: <CAPyFy2Buh4BUEuYW5nfQFdEMio9=yaDAkivg1zXPnEBzr_CzJQ@mail.gmail.com>
References:  <CAFMmRNw_9hS3YuDbjFJH0btvoPADJ7_4=L13z2sK71gctPzXhQ@mail.gmail.com> <CAPyFy2Buh4BUEuYW5nfQFdEMio9=yaDAkivg1zXPnEBzr_CzJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 9, 2014, at 19:44, Ed Maste <emaste@freebsd.org> wrote:

> I had the same issue in LLVM, and as hacky as it seems, the solution
> is to check that the name starts with "_Z" before passing it to
> __cxa_demangle.

This is what I also did for libproc.

--
Rui Paulo






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7265231-E514-414B-93F1-3F3746611AB0>