[Lldb-commits] [lldb] [lldb][test] Turn std::atomic libcxx test generic (PR #146843)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 3 04:07:44 PDT 2025


labath wrote:

Btw, I've recently learned that synthetic child providers don't have to provide just children. They can also provide "values" of the object (`get_value` in python, I don't know how it's surfaced in c++). std::atomic would be a prime candidate for that.. just in case you're interested :)


I think it would turn
```
(std::atomic<int>) i = {
  Value = 47
}
```
into
```
(std::atomic<int>) i = 47
```

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


More information about the lldb-commits mailing list