[Lldb-commits] [lldb] [lldb] Add libstdcpp atomic data formatters (PR #174218)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 29 04:50:03 PST 2026


================
@@ -27,5 +35,22 @@ 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};
----------------
Michael137 wrote:

Lets guard these on `__cpp_lib_atomic_float`

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


More information about the lldb-commits mailing list