[all-commits] [llvm/llvm-project] bff389: Fix a bug with setting breakpoints on C++11 inline...

jimingham via All-commits all-commits at lists.llvm.org
Wed Jan 20 18:04:09 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bff389120fa2368d123612449c938958cfd7f45e
      https://github.com/llvm/llvm-project/commit/bff389120fa2368d123612449c938958cfd7f45e
  Author: Jim Ingham <jingham at apple.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
    A lldb/test/API/lang/cpp/break-on-initializers/Makefile
    A lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py
    A lldb/test/API/lang/cpp/break-on-initializers/main.cpp

  Log Message:
  -----------
  Fix a bug with setting breakpoints on C++11 inline initialization statements.

If they occurred before the constructor that used them, we would refuse to
set the breakpoint because we thought they were crossing function boundaries.

Differential Revision: https://reviews.llvm.org/D94846




More information about the All-commits mailing list