commit | c3796554a88148a3ebef919c74aeaa2ffcf25564 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Thu May 12 18:37:15 2016 -0400 |
committer | Nico Weber <nicolasweber@gmx.de> | Thu May 12 18:37:15 2016 -0400 |
tree | 8486e38a5dd515528b5c3147375ca18142646f6e | |
parent | 9628c34f00dc25755954ee47383a5a55fed8389d [diff] |
fix newlines in stdin, add test for that
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