[Lldb-commits] [PATCH] D69738: Fix handling for the clang name mangling extension for block invocations

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 1 14:43:12 PDT 2019


jingham added inline comments.


================
Comment at: lldb/source/Core/Mangled.cpp:99
+
+  if (s.size() >= 2 && (s[0] == '_' && s[1] == 'Z'))
+    return Mangled::eManglingSchemeItanium;
----------------
StringRef has a startswith.  That might be easier to read.


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

https://reviews.llvm.org/D69738





More information about the lldb-commits mailing list