[Lldb-commits] [PATCH] D149213: [lldb] Add basic support to Rust enums in TypeSystemClang

Vladimir Makaev via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 18 19:11:41 PDT 2023


VladimirMakaev updated this revision to Diff 541809.
VladimirMakaev removed reviewers: ayermolo, Michael137.
VladimirMakaev added a comment.
This revision is now accepted and ready to land.

Added more tests. 
Last revision had main.yaml missing.

Reviewed test cases from https://github.com/rust-lang/rust/blob/master/tests/debuginfo/msvc-pretty-enums.rs

It seems #[repr(i128)] isn't working correctly with no_std. (It looks like a compiler issue and the feature is still unstable) Updated tests and main.yaml to include stdlib


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149213/new/

https://reviews.llvm.org/D149213

Files:
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
  lldb/test/API/lang/rust/enum-structs/RustEnumValue.py
  lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
  lldb/test/API/lang/rust/enum-structs/main.rs
  lldb/test/API/lang/rust/enum-structs/main.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149213.541809.patch
Type: text/x-patch
Size: 176688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230719/b4bf7032/attachment-0001.bin>


More information about the lldb-commits mailing list