[Lldb-commits] [PATCH] D43059: Add implementation for MSCV in CPlusPlusLanguage::IsCPPMangledName
Aaron Smith via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 7 18:55:12 PST 2018
asmith created this revision.
asmith added reviewers: zturner, lldb-commits.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D43059
Files:
source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
Index: source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
===================================================================
--- source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+++ source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
@@ -256,6 +256,9 @@
// this is a C++ mangled name, but we can put that off till there is actually
// more than one
// we care about.
+#if defined(_MSC_VER)
+ return (name != nullptr && name[0] == '?');
+#endif
return (name != nullptr && name[0] == '_' && name[1] == 'Z');
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43059.133357.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180208/03ed38f4/attachment-0001.bin>
More information about the lldb-commits
mailing list