mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
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. |
||
|---|---|---|
| .. | ||
| bindings | ||
| cmake | ||
| docs | ||
| examples | ||
| include | ||
| packages/Python/lldbsuite | ||
| resources | ||
| scripts | ||
| source | ||
| test | ||
| tools | ||
| unittests | ||
| utils | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE.TXT | ||
| Maintainers.md | ||
| use_lldb_suite_root.py | ||