[all-commits] [llvm/llvm-project] bbf325: [lldb] Scaffolding for synthetic variable support....

Aman LaChapelle via All-commits all-commits at lists.llvm.org
Thu Apr 16 15:44:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbf325be7e2d2078cba058e3fb4763d756b15d41
      https://github.com/llvm/llvm-project/commit/bbf325be7e2d2078cba058e3fb4763d756b15d41
  Author: Aman LaChapelle <aman.lachapelle at gmail.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M lldb/include/lldb/API/SBVariablesOptions.h
    M lldb/include/lldb/Interpreter/OptionGroupVariable.h
    A lldb/include/lldb/Utility/ValueType.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/API/SBVariablesOptions.cpp
    M lldb/source/Interpreter/OptionGroupVariable.cpp

  Log Message:
  -----------
  [lldb] Scaffolding for synthetic variable support. (#181500)


This patch handles most of the scaffolding for synthetic variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch synthetic variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be synthetic, which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing synthetic variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.



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