[PATCH] D67851: llvm-undname: Add support for demangling typeinfo names

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 01:45:28 PDT 2019


mstorsjo added inline comments.


================
Comment at: llvm/include/llvm/Demangle/MicrosoftDemangle.h:161
   SymbolNode *demangleMD5Name(StringView &MangledName);
+  SymbolNode *demangleTypeinfoName(StringView &MangledName);
 
----------------
hans wrote:
> Off topic: Do you know why the demangler uses its own StringView class instead of StringRef like the rest of llvm?
> 
> (Looks like it comes from libcxxabi via this commit: r327859)
The demangler can't use the normal llvm classes, as it is supposed to be able to run on top of plain C/C++ standard libraries (because it's shared with the demangling code in libcxxabi).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67851/new/

https://reviews.llvm.org/D67851





More information about the llvm-commits mailing list