<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lldb/test/API/functionalities/data-formatter, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[lldb][test] Correctly skip a test on a 32-bit target (#168631)</title>
<updated>2025-11-19T21:38:41+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2025-11-19T21:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=12d72050e1255decb67d53125e86d348db2951d6'/>
<id>12d72050e1255decb67d53125e86d348db2951d6</id>
<content type='text'>
The test was added in #147252. On a 32-bit target, it fails with error:
```
  File "...\TestDataFormatterLibcxxInvalidString.py", line 23, in test
    self.skip()
    ^^^^^^^^^
AttributeError: 'LibcxxInvalidStringDataFormatterTestCase' object has no attribute 'skip'
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test was added in #147252. On a 32-bit target, it fails with error:
```
  File "...\TestDataFormatterLibcxxInvalidString.py", line 23, in test
    self.skip()
    ^^^^^^^^^
AttributeError: 'LibcxxInvalidStringDataFormatterTestCase' object has no attribute 'skip'
```</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Add libstdcpp initializer_list formatter (#167515)</title>
<updated>2025-11-13T14:57:23+00:00</updated>
<author>
<name>Ebuka Ezike</name>
<email>yerimyah1@gmail.com</email>
</author>
<published>2025-11-13T14:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=94fb85646daf2b4cea55410ba15960339d2d58b5'/>
<id>94fb85646daf2b4cea55410ba15960339d2d58b5</id>
<content type='text'>
Make the existing libc++ formatter generic
Add initializer_list summary provider.
Add test for `libstdcpp`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the existing libc++ formatter generic
Add initializer_list summary provider.
Add test for `libstdcpp`</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB] Run MSVC STL string(-view) tests with PDB (#166833)</title>
<updated>2025-11-07T13:16:44+00:00</updated>
<author>
<name>nerix</name>
<email>nerixdev@outlook.de</email>
</author>
<published>2025-11-07T13:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=311d115ed809724855f821616ed7aabab32896d4'/>
<id>311d115ed809724855f821616ed7aabab32896d4</id>
<content type='text'>
PDB doesn't include the typedefs for types, so all types use their full
name. For `std::string` and friends, this means they show up as
`std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;&gt;`.

This PR updates the `std::{,w,u8,u16,u32}string(_view)` tests to account
for this and runs them with PDB.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PDB doesn't include the typedefs for types, so all types use their full
name. For `std::string` and friends, this means they show up as
`std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;&gt;`.

This PR updates the `std::{,w,u8,u16,u32}string(_view)` tests to account
for this and runs them with PDB.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB] Run working STL data formatter tests with PDB (#166812)</title>
<updated>2025-11-06T19:00:14+00:00</updated>
<author>
<name>nerix</name>
<email>nerixdev@outlook.de</email>
</author>
<published>2025-11-06T19:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=de2a86e5f0bdab3a09d91f4f8f57b06d3ff55b18'/>
<id>de2a86e5f0bdab3a09d91f4f8f57b06d3ff55b18</id>
<content type='text'>
This enables testing with PDB for all tests that don't require any
changes to pass. I ran the
`lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic`
tests locally and they passed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables testing with PDB for all tests that don't require any
changes to pass. I ran the
`lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic`
tests locally and they passed.</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb][test] Fix libc++ API tests on older Clang versions</title>
<updated>2025-10-30T15:08:08+00:00</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2025-10-30T15:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=128f850af4ac5face78be14f8321abd3f971da5b'/>
<id>128f850af4ac5face78be14f8321abd3f971da5b</id>
<content type='text'>
Both of these fail on our Clang-19 macOS bots.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both of these fail on our Clang-19 macOS bots.
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB] Check type before creating `std::atomic` synthetic children (#163176)</title>
<updated>2025-10-13T17:25:26+00:00</updated>
<author>
<name>nerix</name>
<email>nerixdev@outlook.de</email>
</author>
<published>2025-10-13T17:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=15cde999d47c3edc7647faf5fd967f5d5d88416a'/>
<id>15cde999d47c3edc7647faf5fd967f5d5d88416a</id>
<content type='text'>
From
https://github.com/llvm/llvm-project/pull/163077#issuecomment-3396435083:
Currently, `std::atomic&lt;T&gt;` will always use the MSVC STL synthetic
children and summary. When inspecting types from other STLs, the output
would not show any children.

This PR adds a check that `std::atomic` contains `_Storage` to be
classified as coming from MSVC's STL.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From
https://github.com/llvm/llvm-project/pull/163077#issuecomment-3396435083:
Currently, `std::atomic&lt;T&gt;` will always use the MSVC STL synthetic
children and summary. When inspecting types from other STLs, the output
would not show any children.

This PR adds a check that `std::atomic` contains `_Storage` to be
classified as coming from MSVC's STL.</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb][test] Un-XFAIL TestDataFormatterStdUnorderedMap.py for older Clang versions</title>
<updated>2025-10-02T12:30:43+00:00</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2025-10-02T12:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=86ba1986a29478681ddc64af7d08fdff390b00e8'/>
<id>86ba1986a29478681ddc64af7d08fdff390b00e8</id>
<content type='text'>
Fixed in https://github.com/llvm/llvm-project/pull/156033
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed in https://github.com/llvm/llvm-project/pull/156033
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB] [Tests] Downgrade -Wincompatible-pointer-types to a warning in some tests (#158756)</title>
<updated>2025-09-16T00:02:01+00:00</updated>
<author>
<name>Sirraide</name>
<email>aeternalmail@gmail.com</email>
</author>
<published>2025-09-16T00:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b95e10d5ea6b61e0d9af0a800d63566ae32a2d0'/>
<id>9b95e10d5ea6b61e0d9af0a800d63566ae32a2d0</id>
<content type='text'>
These no longer compile because the warning now defaults to an error
after #157364, so downgrade the error to a warning for now; I’m not
familiar enough with either LLDB or MacOS to fix these warnings properly
(assuming they’re unintended).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These no longer compile because the warning now defaults to an error
after #157364, so downgrade the error to a warning for now; I’m not
familiar enough with either LLDB or MacOS to fix these warnings properly
(assuming they’re unintended).</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb][test] Fix unordered-map test. (#158286)</title>
<updated>2025-09-15T14:21:56+00:00</updated>
<author>
<name>Ebuka Ezike</name>
<email>yerimyah1@gmail.com</email>
</author>
<published>2025-09-15T14:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5e118eca93ad7591c7b904a160d4d42cd37903c5'/>
<id>5e118eca93ad7591c7b904a160d4d42cd37903c5</id>
<content type='text'>
The build step is overidden so it uses `libstdc++` instead of `libc++`
on linux</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The build step is overidden so it uses `libstdc++` instead of `libc++`
on linux</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb][DataFormatter] Allow std::string formatters to match against custom allocators (#156050)</title>
<updated>2025-09-05T08:24:50+00:00</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2025-09-05T08:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4b362f152e58abd6aeed5d603a6dfc10115ed1ab'/>
<id>4b362f152e58abd6aeed5d603a6dfc10115ed1ab</id>
<content type='text'>
This came up in https://github.com/llvm/llvm-project/issues/155691.

For `std::basic_string` our formatter matching logic required the
allocator template parameter to be a `std::allocator`. There is no
compelling reason (that I know of) why this would be required for us to
apply the existing formatter to the string. We don't check the
`allocator` parameter for other STL containers either. This meant that
`std::string` that used custom allocators wouldn't be formatted. This
patch relaxes the regex for `basic_string`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This came up in https://github.com/llvm/llvm-project/issues/155691.

For `std::basic_string` our formatter matching logic required the
allocator template parameter to be a `std::allocator`. There is no
compelling reason (that I know of) why this would be required for us to
apply the existing formatter to the string. We don't check the
`allocator` parameter for other STL containers either. This meant that
`std::string` that used custom allocators wouldn't be formatted. This
patch relaxes the regex for `basic_string`.</pre>
</div>
</content>
</entry>
</feed>
