commit | 3e51b49d1001a08a8d8f583602cf9283f9951c4e | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Mon May 23 22:18:27 2016 -0400 |
committer | Nico Weber <nicolasweber@gmx.de> | Tue Dec 06 17:00:20 2016 -0500 |
tree | 42f401dc746da219d904fead9e0152b362b8e7d1 | |
parent | c3796554a88148a3ebef919c74aeaa2ffcf25564 [diff] |
real stdin filter (and much more code :-/) also detect additional leading underscores for OS X
demumble
demangles both POSIX and Visual Studio symbols. It runs on both POSIX and Windows.
$ ./demumble _Z4funcPci func(char*, int) $ ./demumble "?Fx_i@@YAHP6AHH@Z@Z" int __cdecl Fx_i(int (__cdecl*)(int))
Use cmake to build: cmake -G Ninja && ninja
cxa_demangle.cpp
needs more C++11 than Visual Studio 2013 supports, so to build on Windows you need to use clang-cl as C++ compiler like so:
cmake -G Ninja -DCMAKE_CXX_COMPILER=path/to/llvm-build/bin/clang-cl.exe