diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-06-28 12:06:25 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-06-28 12:06:25 +0000 |
commit | c071f89a770d6c66e6b29fdf013fa88454fc0ac6 (patch) | |
tree | e6deeec9c800b37b8200407d9067448d8465c4a7 /tools/llvm-symbolizer/LLVMSymbolize.h | |
parent | 4157466bdc41173a1ebd777739ea219162ae13e0 (diff) | |
download | llvm-c071f89a770d6c66e6b29fdf013fa88454fc0ac6.tar.gz llvm-c071f89a770d6c66e6b29fdf013fa88454fc0ac6.tar.bz2 llvm-c071f89a770d6c66e6b29fdf013fa88454fc0ac6.tar.xz |
llvm-symbolizer: make name demangling a public static method of LLVMSymbolizer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-symbolizer/LLVMSymbolize.h')
-rw-r--r-- | tools/llvm-symbolizer/LLVMSymbolize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-symbolizer/LLVMSymbolize.h b/tools/llvm-symbolizer/LLVMSymbolize.h index c7f87b1429..d1f2285aa8 100644 --- a/tools/llvm-symbolizer/LLVMSymbolize.h +++ b/tools/llvm-symbolizer/LLVMSymbolize.h @@ -56,6 +56,7 @@ public: std::string symbolizeData(const std::string &ModuleName, uint64_t ModuleOffset); void flush(); + static std::string DemangleName(const std::string &Name); private: typedef std::pair<Binary*, Binary*> BinaryPair; @@ -67,7 +68,6 @@ private: ObjectFile *getObjectFileFromBinary(Binary *Bin, const std::string &ArchName); std::string printDILineInfo(DILineInfo LineInfo) const; - void DemangleName(std::string &Name) const; // Owns all the parsed binaries and object files. SmallVector<Binary*, 4> ParsedBinariesAndObjects; |