[qt/clang/llvm-project]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]> Tue, 4 Aug 2026 12:14:59 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/clang/llvm-project
Pushed by mirror-service into branch 'upstream/users/davidspickett/lldb-register-types-for-stack-5'.
Changed from 0000000000000000000000000000000000000000 to 983233ff4b64f9b365d53f615405791a642f76f5
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit cb6e0378f586357de8cba1cfb2f85c019afbf9a6 by David Spickett on 03/08/2026 at 14:19..
[lldb] Rename some register type classes

So that when more types are added, the hierarchy is clear.

RegisterType
  -> RegisterTypeEnum
  -> RegisterTypeFlags
  (in future also...)
  -> RegisterTypeUnion
  -> RegisterTypeVector

Renamed and moved the test file as it will cover all
the classes derived from RegisterType.
https://invent.kde.org/qt/clang/llvm-project/-/commit/cb6e0378f586357de8cba1cfb2f85c019afbf9a6

Git commit 1577537b4c15f05f108f7d7d697ddff6600b7376 by David Spickett on 03/08/2026 at 14:23..
just remove the name
https://invent.kde.org/qt/clang/llvm-project/-/commit/1577537b4c15f05f108f7d7d697ddff6600b7376

Git commit 1b4016a025163734703929f29beaa934f401d841 by David Spickett on 03/08/2026 at 14:24..
formatting
https://invent.kde.org/qt/clang/llvm-project/-/commit/1b4016a025163734703929f29beaa934f401d841

Git commit d858548790ba1466866bab1051701481081de664 by David Spickett on 04/08/2026 at 08:42..
rename in comments
https://invent.kde.org/qt/clang/llvm-project/-/commit/d858548790ba1466866bab1051701481081de664

Git commit dd6150581ec2e53bd497e42c91af8271225af8ff by David Spickett on 04/08/2026 at 08:44..
[lldb] Convert uses of RegisterTypeFlags into RegisterType

So we are using the generic interface that will work with
all future RegisterType derived classes.

Right now we'll only be asked to print RegisterTypeFlags, so
there's a few dyn_cast to that. Later we will switch on the
kind, and support rendering more types.
https://invent.kde.org/qt/clang/llvm-project/-/commit/dd6150581ec2e53bd497e42c91af8271225af8ff

Git commit 23c4d2a462c1568e8faaaabeca0f0382d847f770 by David Spickett on 04/08/2026 at 09:17..
[lldb] Store all XML register types in a single string map

We are assuming that their ID's are unique, so there's no need to keep
separate maps. We can do basic type checking by checking the kind of
the type pointed to.

A few more methods were added to the base RegisterType. GetSize()
returns 0 for enums because enums don't have a size until they are
used by a register. This is not ideal but it works for now.
https://invent.kde.org/qt/clang/llvm-project/-/commit/23c4d2a462c1568e8faaaabeca0f0382d847f770

Git commit 231fd4c5e60595d808d30f82fc5217bca2502260 by David Spickett on 04/08/2026 at 09:51..
[lldb] Make RegisterFlagsDetector into RegisterTypesDetector

In future it may be generating things other than flags. Functionality
is the same, but the interface changes to use RegisterType.
https://invent.kde.org/qt/clang/llvm-project/-/commit/231fd4c5e60595d808d30f82fc5217bca2502260

Git commit 983233ff4b64f9b365d53f615405791a642f76f5 by David Spickett on 04/08/2026 at 10:30..
[lldb] Refactor RegisterTypeBuilder

This prepares it for emitting union types. Major changes:
* Entry function is now a dispatcher to builder functions for each type.
* Name mangling is standardised.
* The register name parameter is no longer needed and so was removed.
https://invent.kde.org/qt/clang/llvm-project/-/commit/983233ff4b64f9b365d53f615405791a642f76f5