================
@@ -27,5 +30,15 @@ int main() {
   // Let the child node know what its parent is.
   p.child.parent = &p;
 
+  // libstdcpp has different layout depending on the data structure
+  std::atomic<bool> atomic_bool{true};
+  std::atomic<float> atomic_float{3.14};
+  std::atomic<double> atomic_double{6.28};
----------------
Michael137 wrote:

We may want to test what happens with complex floats (i.e., `_Complex float`) 
and vector types with float elements (i.e., `typedef float  vector4float  
__attribute__((__vector_size__(16)));`)

The Clang TypeSystem treats those as float types too, but I'm not sure that's 
what `std::atomic` specialization would do

https://github.com/llvm/llvm-project/pull/174218
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to