commit | dc9c21793b6565afc75a5762bd9d7fa5430c93b0 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Wed May 11 21:48:23 2016 -0400 |
committer | Nico Weber <nicolasweber@gmx.de> | Wed May 11 21:48:51 2016 -0400 |
tree | d5580197a729fcf3134b6b8495f6ff1b216b070e | |
parent | 0054936a45cf5c93198df9560483c2dab8664a5a [diff] |
let demumble process stdin
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