[PATCH] D68917: [Demangle] Add a few more options to the microsoft demangler
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 14:43:03 PDT 2019
mstorsjo created this revision.
mstorsjo added reviewers: thakis, rnk, zturner, ruiu.
Herald added subscribers: erik.pilkington, hiraditya.
Herald added a project: LLVM.
This corresponds to commonly used options to UnDecorateSymbolName within llvm.
Add them as hidden options in llvm-undname. MS undname.exe takes numeric flags, corresponding to the UNDNAME_* constants, but instead of hardcoding in mappings for those numbers, just add textual options instead, as it the use of them here is primarily intended for testing.
This should allow replacing UnDecorateSymbolName from dbghelp with the llvm demangler mostly without changing the output.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68917
Files:
llvm/include/llvm/Demangle/Demangle.h
llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
llvm/test/Demangle/ms-options.test
llvm/tools/llvm-undname/llvm-undname.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68917.224758.patch
Type: text/x-patch
Size: 7929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191012/0138f547/attachment.bin>
More information about the llvm-commits
mailing list