[all-commits] [llvm/llvm-project] bfd263: [lldb][ExpressionParser][NFCI] Add new DoPrepareFo...

Michael Buch via All-commits all-commits at lists.llvm.org
Fri Jun 21 23:20:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfd263a34df5d3916eb8425bb070618324acabfa
      https://github.com/llvm/llvm-project/commit/bfd263a34df5d3916eb8425bb070618324acabfa
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-22 (Sat, 22 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Expression/ExpressionParser.h
    M lldb/source/Expression/CMakeLists.txt
    A lldb/source/Expression/ExpressionParser.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp

  Log Message:
  -----------
  [lldb][ExpressionParser][NFCI] Add new DoPrepareForExecution interface to be implemented by language plugins (#96290)

This patch adds a new `DoPrepareForExecution` API, which can be
implemented by the Clang and Swift language plugins. This also moves
`RunStaticInitializers` into `ExpressionParser::PrepareForExecution`, so
we call it consistently between language plugins.

This *should* be mostly NFC (the static initializers will still only run
after we finished parsing). We've been living on this patch downstream
for sometime now.

rdar://130267058



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list