[all-commits] [llvm/llvm-project] 53fd72: [lldb] Add lookup by name to SBValue through new m...

Dave Lee via All-commits all-commits at lists.llvm.org
Mon Dec 9 10:48:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53fd724b256e1ccfcb04c90f7740f54e1801986d
      https://github.com/llvm/llvm-project/commit/53fd724b256e1ccfcb04c90f7740f54e1801986d
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M lldb/bindings/interface/SBValueExtensions.i
    M lldb/test/API/python_api/value/TestValueAPI.py

  Log Message:
  -----------
  [lldb] Add lookup by name to SBValue through new member property (#118814)

Introduces a `member` property to `SBValue`. This property provides pythonic access to a
value's members, by name. The expression `value.member["name"]` will be an alternate
form form of writing `value.GetChildMemberWithName("name")`.



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