aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/Demangle.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-22Add missing include (cstdlib) to Demangle.hKonstantin Zhuravlyov1-0/+1
Differential Revision: https://reviews.llvm.org/D57035 llvm-svn: 351861
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
2019-01-18Add __[_[_]]Z demangling to new common demangle functionJames Henderson1-1/+7
This is a follow-up to r351448. It adds support for other _*Z extensions of the Itanium demanling, to the newly available demangle function heuristic. Reviewed by: erik.pilkington, rupprecht, grimar Differential Revision: https://reviews.llvm.org/D56855 llvm-svn: 351551
2019-01-17Move demangling function from llvm-objdump to Demangle libraryJames Henderson1-0/+30
This allows it to be used in an upcoming llvm-readobj change. A small change in internal behaviour of the function is to always call the microsoftDemangle function if the string does not have an itanium encoding prefix, rather than only if it starts with '?'. This is harmless because the microsoftDemangle function does the same check already. Reviewed by: grimar, erik.pilkington Differential Revision: https://reviews.llvm.org/D56721 llvm-svn: 351448