[Lldb-commits] [PATCH] D11461: Improve C++ function name handling and step-in avoid regerxp handling

Tamas Berghammer tberghammer at google.com
Thu Jul 23 07:36:13 PDT 2015


tberghammer created this revision.
tberghammer added reviewers: labath, clayborg.
tberghammer added a subscriber: lldb-commits.

Improve C++ function name handling and step-in avoid regexp handling

If the function is a template then the return type is part of the
function name. This CL fixes the parsing of these function names in
the case when the return type contains ':'.

The name of free functions in C++ don't have context part. Fix the
logic getting the function name without arguments out from a full
function name to handle this case.

Change the handling of step-in-avoid-regexp to match the value against
the function name without it's arguments and return value. This is
required because the default regexp ("^std::") would match any template
function returning an std object.

http://reviews.llvm.org/D11461

Files:
  source/Core/Mangled.cpp
  source/Target/CPPLanguageRuntime.cpp
  source/Target/ThreadPlanStepInRange.cpp
  test/functionalities/disassembly/TestDisassembleBreakpoint.py
  test/functionalities/inline-stepping/TestInlineStepping.py
  test/functionalities/inline-stepping/calling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11461.30483.patch
Type: text/x-patch
Size: 8281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150723/c72ace73/attachment.bin>


More information about the lldb-commits mailing list