llvm-c166/lldb
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
..
bindings [lldb] Fix SBStructuredData::GetStringValue method (#216875) 2026-08-24 23:19:02 +01:00
cmake
docs [lldb] Restrict expressions to one top-level assignment in DIL (#214348) 2026-08-26 17:37:41 +05:00
examples
include lldb: Linux: delete Ptrace.h pollyfill (#218045) 2026-08-26 17:56:00 +00:00
packages/Python/lldbsuite [lldb-dap] Migrate core file test (#217403) 2026-08-25 22:56:05 +01:00
resources
scripts
source [lldb][NativePDB] Keep declaration order of struct fields (#218731) 2026-08-26 20:53:40 +02:00
test [lldb] Restrict expressions to one top-level assignment in DIL (#214348) 2026-08-26 17:37:41 +05:00
tools [lldb] Fix SBStructuredData::GetStringValue method (#216875) 2026-08-24 23:19:02 +01:00
unittests [lldb][NativePDB] Keep declaration order of struct fields (#218731) 2026-08-26 20:53:40 +02:00
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
LICENSE.TXT
Maintainers.md
use_lldb_suite_root.py