[Lldb-commits] [lldb] [lldb] Override default struct layout when building register types (PR #189590)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 31 04:36:45 PDT 2026


================
@@ -1277,7 +1277,10 @@ class ScratchTypeSystemClang : public TypeSystemClang {
     /// type information from a C++ module. The templates from a C++ module
     /// often conflict with the templates we generate from debug information,
     /// so we put these types in their own AST.
-    CppModules
+    CppModules,
+    /// Register "flags" types are converted into structures but their layout
+    /// does not follow the ABI of the target.
+    Registers
----------------
DavidSpickett wrote:

Here I make it a unique type system. The type names are very unlikely to conflict but I think it needs to be separate so it can have its own external AST.

https://github.com/llvm/llvm-project/pull/189590


More information about the lldb-commits mailing list