Nico Weber
Nico Weber
If you want this, you also need `from __future__ import print_function` (spelling?) else it'll break things in Python 2.
What code was this symbol generated from? `c++filt`'s output looks more correct to me, but I can't come up with a way to produce this mangling.
That's a great IRC nick!
Thanks for the report. I think the `.AV...` bit is written by mangleCXXRTTIName() (currently at http://llvm-cs.pcc.me.uk/tools/clang/lib/AST/MicrosoftMangle.cpp#3129), which mangles the contents of the RTTI descriptor (i.e. it's not really a symbol,...
One problem is that this makes it a bit hard to detect a mangled string. At the moment, we can look for "?" as prefix on Win and for "_Z"...
With ad8745b2219 (not production quality) applied locally: ``` $ buildmac/demumble ".?AVCNetMidLayer@@" typeinfo name for class CNetMidLayer ```
Upstream bit: https://reviews.llvm.org/D67851
Trunk now demangles rtti descriptor names when you pass them directly: ``` $ ./demumble .?AVCNetMidLayer@@ class CNetMidLayer `RTTI Type Descriptor Name' ``` Adding it in streaming mode (`echo .?AVCNetMidLayer@@ |...
Feedback addressed. I think libclang will support passing in an explicit cwd soon; once that's accessible from python, we should use that instead of temporarily changing cwd. If you guys...