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.
Any reason not to say MSDF_NoCallingConvention instead? I see it's consistent with the UnDecorateSymbolName flag, but "allocation language" is pretty opaque. It's not like we're being compatible with undname here, we might as well use descriptive command line flag names.