[all-commits] [llvm/llvm-project] 4c3631: [lldb] Refactor PrepareToExecuteJITExpression (#22...

Lang Hames via All-commits all-commits at lists.llvm.org
Mon Sep 21 18:53:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c36312084fea422bec96f1bdb599b38b144289d
      https://github.com/llvm/llvm-project/commit/4c36312084fea422bec96f1bdb599b38b144289d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M lldb/include/lldb/Expression/LLVMUserExpression.h
    M lldb/source/Expression/LLVMUserExpression.cpp
    M lldb/test/API/commands/expression/memory-allocation/TestMemoryAllocSettings.py

  Log Message:
  -----------
  [lldb] Refactor PrepareToExecuteJITExpression (#224888)

Refactor the body of PrepareToExecuteJITExpression into two methods:
AllocateInterpreterStackFrame and AllocateAndMaterializeStruct.

This change is purely mechanical, but improves readability and sets up a
future refactor: AllocateAndMaterializeStruct is generic expression
setup and should remain where it is, but AllocateInterpreterStackFrame
is only needed on the interpreter path and can be sunk into that path in
a future commit.

---------

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>



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