<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/gdb-scripts, branch users/nico/python-2</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>Remove debugger pretty printers for llvm::Optional (#135235)</title>
<updated>2025-04-14T12:11:55+00:00</updated>
<author>
<name>Aaron Puchert</name>
<email>aaron.puchert@sap.com</email>
</author>
<published>2025-04-14T12:11:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1c04ebbbb5aff6da50aa62f08b2453e741484b85'/>
<id>1c04ebbbb5aff6da50aa62f08b2453e741484b85</id>
<content type='text'>
Since 2916b99182752b1aece8cc4479d8d6a20b5e02da this is just an alias to
std::optional, and by now it has been removed entirely.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 2916b99182752b1aece8cc4479d8d6a20b5e02da this is just an alias to
std::optional, and by now it has been removed entirely.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix gdb pretty printers for libSupport</title>
<updated>2024-06-19T05:50:08+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2024-06-07T21:05:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1c9a81b2bd91e8cd9baf742fa66650eefbaf552c'/>
<id>1c9a81b2bd91e8cd9baf742fa66650eefbaf552c</id>
<content type='text'>
Remove the testing for std::optional - it was originally for
llvm::Optional, but now that that doesn't exist and we use
std::optional, testing for that pretty printer should live, wherever the
pretty printer lives, not here in LLVM.

And the PointerIntPair pretty printer bit rotted due to changes in
PointerIntPair, 875391728c11339c8a6cd3338bcaa5ec0ffc2496.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the testing for std::optional - it was originally for
llvm::Optional, but now that that doesn't exist and we use
std::optional, testing for that pretty printer should live, wherever the
pretty printer lives, not here in LLVM.

And the PointerIntPair pretty printer bit rotted due to changes in
PointerIntPair, 875391728c11339c8a6cd3338bcaa5ec0ffc2496.
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][Py Reformat] Reformat python files in llvm</title>
<updated>2023-05-17T08:48:52+00:00</updated>
<author>
<name>Tobias Hieta</name>
<email>tobias@hieta.se</email>
</author>
<published>2023-05-15T09:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b71edfaa4ec3c998aadb35255ce2f60bba2940b0'/>
<id>b71edfaa4ec3c998aadb35255ce2f60bba2940b0</id>
<content type='text'>
This is the first commit in a series that will reformat
all the python files in the LLVM repository.

Reformatting is done with `black`.

See more information here:

https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style

Reviewed By: jhenderson, JDevlieghere, MatzeB

Differential Revision: https://reviews.llvm.org/D150545
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first commit in a series that will reformat
all the python files in the LLVM repository.

Reformatting is done with `black`.

See more information here:

https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style

Reviewed By: jhenderson, JDevlieghere, MatzeB

Differential Revision: https://reviews.llvm.org/D150545
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Optional gdb pretty printer for 556bcc782101804b2d168a6868ddf06b963a4878</title>
<updated>2022-07-12T01:12:33+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2022-07-12T01:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d81a8759c969344c1e96992aab30f5b5a9d5ffd3'/>
<id>d81a8759c969344c1e96992aab30f5b5a9d5ffd3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[gdb-scripts] Fix PointerIntPairPrinter.to_string after D127969</title>
<updated>2022-06-24T07:36:26+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2022-06-24T07:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0ecea5b2d34b3a0cf1e4e77ce7d33e1fb5d75028'/>
<id>0ecea5b2d34b3a0cf1e4e77ce7d33e1fb5d75028</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[gdb-scripts] Add to_string methods to printer implementations</title>
<updated>2022-06-21T16:09:30+00:00</updated>
<author>
<name>Krzysztof Drewniak</name>
<email>Krzysztof.Drewniak@amd.com</email>
</author>
<published>2022-06-16T14:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c5c4e781b8c4a28e90e06f0a96ccdfbaa3ad433'/>
<id>7c5c4e781b8c4a28e90e06f0a96ccdfbaa3ad433</id>
<content type='text'>
Some GDB versions require all prettyprinter classes to define to_string.
This commit adds these definitions.

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D127969
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some GDB versions require all prettyprinter classes to define to_string.
This commit adds these definitions.

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D127969
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some support for pretty printing Twines containing std::string in gdb</title>
<updated>2021-11-05T19:56:40+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2021-11-05T19:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=baa820c510d027911b464ee018e15217d09568da'/>
<id>baa820c510d027911b464ee018e15217d09568da</id>
<content type='text'>
This isn't perfect, since it doesn't use lazy_string - so if the
std::string does contain unprintable characters it might fail, but seems
better than nothing &amp; LLVM doesn't generally store binary data in
std::strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This isn't perfect, since it doesn't use lazy_string - so if the
std::string does contain unprintable characters it might fail, but seems
better than nothing &amp; LLVM doesn't generally store binary data in
std::strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some issues with the gdb pretty printers for llvm::Twine</title>
<updated>2021-11-05T05:50:50+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2021-11-05T03:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=def232915f81ce391ef54b8a7af85c6729a6d359'/>
<id>def232915f81ce391ef54b8a7af85c6729a6d359</id>
<content type='text'>
Still some pending bugs, but at least ironed some things out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Still some pending bugs, but at least ironed some things out.
</pre>
</div>
</content>
</entry>
<entry>
<title>llvm pretty printers: Fix StringRef and workaround StringMap in Python 2</title>
<updated>2021-10-26T06:49:10+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2021-10-26T06:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a36032345ed823414fcee0f9aed43628f4320001'/>
<id>a36032345ed823414fcee0f9aed43628f4320001</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid fragile type lookups in GDB pretty printer</title>
<updated>2021-01-22T13:56:32+00:00</updated>
<author>
<name>Moritz Sichert</name>
<email>sichert@in.tum.de</email>
</author>
<published>2021-01-11T14:55:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b46545542b3010749b530f37d24e24a6abdd58e9'/>
<id>b46545542b3010749b530f37d24e24a6abdd58e9</id>
<content type='text'>
Instead of using the type llvm::StringMapEntry&lt;{stringified_value_type}&gt;
use only the base class llvm::StringMapEntryBase and calculate the
offsets of the member variables manually. The approach with stringifying
the name of the value type is pretty fragile as it can easily break with
local and dependent types.

Differential Revision: https://reviews.llvm.org/D94431
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using the type llvm::StringMapEntry&lt;{stringified_value_type}&gt;
use only the base class llvm::StringMapEntryBase and calculate the
offsets of the member variables manually. The approach with stringifying
the name of the value type is pretty fragile as it can easily break with
local and dependent types.

Differential Revision: https://reviews.llvm.org/D94431
</pre>
</div>
</content>
</entry>
</feed>
