commit | 9628c34f00dc25755954ee47383a5a55fed8389d | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Wed May 11 22:00:34 2016 -0400 |
committer | Nico Weber <nicolasweber@gmx.de> | Wed May 11 22:00:34 2016 -0400 |
tree | 8d7284196196c2d6bc46d9c44ea9a3f00d244e22 | |
parent | dc9c21793b6565afc75a5762bd9d7fa5430c93b0 [diff] |
merge newer cxa_demangle file
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