llvm-c166/lldb/source
Nerixyz 90a5ddf2a9
[lldb][NativePDB] Keep declaration order of struct fields (#218731)
Unlike in C/C++, struct fields in Rust may be reordered by the compiler
to reduce padding. When completing records, we only tracked the offset
of fields inside the struct. For Rust this could result in an order that
didn't match the declaration (#218613).

This PR tracks the declaration order and sorts fields after the record
is constructed. It's assumed that the members inside the `LF_FIELDLIST`
are present in declaration order.

Fixes #218613.
2026-08-26 20:53:40 +02:00
..
API [lldb] Fix SBStructuredData::GetStringValue method (#216875) 2026-08-24 23:19:02 +01:00
Breakpoint
Commands [lldb] Remove ConstString from TypeFormatImpl_EnumType (#215431) 2026-08-19 16:23:39 -07:00
Core [lldb] Fix null object file deref in ModuleList::AppendImpl (#218448) 2026-08-24 22:36:20 +01:00
DataFormatters [lldb] Remove ConstString from TypeFormatImpl_EnumType (#215431) 2026-08-19 16:23:39 -07:00
Expression [lldb] Evaluate DW_OP_mod with unsigned arithmetic (#218383) 2026-08-25 17:30:39 +08:00
Host [lldb][lldb-server] Fix compilation on 32-bit (#217934) 2026-08-21 15:09:46 +00:00
Initialization [lldb] Guard CRT debug report calls with _MSC_VER (#216710) 2026-08-18 15:27:18 +02:00
Interpreter [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
Plugins [lldb][NativePDB] Keep declaration order of struct fields (#218731) 2026-08-26 20:53:40 +02:00
Protocol
Symbol [lldb] Only report a symbol server error when the download failed (#217669) 2026-08-20 11:21:11 -07:00
Target [lldb] Guard MemoryCache::ReadRanges against a short buffer (#218706) 2026-08-26 12:30:13 +01:00
Utility [AMDGPU] Define gfx1250-strict target (#218543) 2026-08-25 13:11:13 -07:00
ValueObject [lldb] Restrict expressions to one top-level assignment in DIL (#214348) 2026-08-26 17:37:41 +05:00
Version
CMakeLists.txt