回复:Re: Public the interface for cxa_demangler.cpp

Thank you Erik, I think, the new demangler might meet all the requirement I needed. I will try with it. BTW, does your code will sync with the cxa_demangler.cpp in the llvm runtime ? I notice that, the demangler in the llvm and llvm runtime look like the same for mostly,

发件人:Erik Pilkington erik.pilkington@gmail.com
收件人:bluedream_zqs@sina.com, cfe-dev cfe-dev@lists.llvm.org
主题:Re: [cfe-dev] Public the interface for cxa_demangler.cpp
日期:2018年04月13日 20点54分

No plans as of yet! I never planned to export the AST in this way, doing so would probably require some surgery (ie, make all the identifiers it uses reserved). I very recently landed r329951, which provides a simple opaque API to the AST for the copy of the demangler in llvm. Maybe this is enough for your use case? What kind of analysis are you planning on performing?

Thanks,
Erik