BZDEV: g++ demangler

From: Terry Gaetz (gaetz@head-cfa.harvard.edu)
Date: Fri Feb 12 1999 - 09:54:01 EST


Todd writes:

> Yikes! There's the culprit. There is a function call in the inner
> loop. I couldn't find a demangler utility for g++ (anyone know if
> there is one)? but it looks like some global function associated
> with complex. Hunting through the library headers I find:

The g++ demangler is called c++filt.

The expression

  __doapl__H1Zd_Pt7complex1ZX01RCt7complex1ZX01_Rt7complex1ZX01

demangles to

  complex<double> & __doapl<double>(complex<double> *, complex<double> const &)

and

  sqr__H1ZQ25blitzt5Array2Zt7complex1Zdi1__5blitzRCt6ETBase1ZX01_Q
  25blitzt13_bz_ArrayExpr1ZQ25blitzt20_bz_ArrayExprUnaryOp2ZQ35blitzt6asExpr1ZX016
  T_exprZQ25blitzt7_bz_sqr1ZQ45blitzt6asExpr1ZX016T_expr9T_numtype

demangles to

  blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprUnaryOp
  <blitz::asExpr<blitz::Array<complex<double>, 1> >::
  ::T_expr, blitz::_bz_sqr<blitz::
  asExpr<blitz::Array<complex<double>, 1> >::
  T_expr::T_numtype> > > blitz sqr<blitz::Array<complex<double>, 1> >
  (ETBase<blitz::Array<complex<double>, 1> > const &)

Terry

--
Terry Gaetz  --  tgaetz@cfa.harvard.edu

--------------------- blitz-dev list -------------------------------- * To subscribe/unsubscribe: mail to majordomo@oonumerics.org, with "subscribe blitz-dev" or "unsubscribe blitz-dev" in the body of the message * Blitz++ web page: http://oonumerics.org/blitz/



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:09 EST