commit | 2664fe6c81f38567112afba4a8e95f438e029d5e | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Mon May 23 22:49:17 2016 -0400 |
committer | Nico Weber <nicolasweber@gmx.de> | Tue Dec 06 17:00:22 2016 -0500 |
tree | dbb33556a615f01ff96e37e7da9261aa2ef8f27b | |
parent | 3e51b49d1001a08a8d8f583602cf9283f9951c4e [diff] |
add -m flag that prints only the match
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