[all-commits] [llvm/llvm-project] 463961: [lldb] Add interface to check if UserExpression::P...

Augusto Noronha via All-commits all-commits at lists.llvm.org
Thu Nov 16 14:20:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46396108deb24564159c441c6e6ebfac26714d7b
      https://github.com/llvm/llvm-project/commit/46396108deb24564159c441c6e6ebfac26714d7b
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M lldb/include/lldb/Expression/UserExpression.h
    M lldb/source/Breakpoint/BreakpointLocation.cpp

  Log Message:
  -----------
  [lldb] Add interface to check if UserExpression::Parse() is cacheable (#66826)

When setting conditional breakpoints, we currently assume that a call to
UserExpression::Parse() can be cached and resued multiple times. This
may not be true for every user expression. Add a new method so
subclasses of UserExpression can customize if they are parseable or not.




More information about the All-commits mailing list