<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp, 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] Use llvm::replace (NFC) (#140343)</title>
<updated>2025-05-17T16:09:10+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-05-17T16:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=68e4f6090b369c14da8c6ef1f614664b9e0427e1'/>
<id>68e4f6090b369c14da8c6ef1f614664b9e0427e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB][TableGen] Migrate lldb-tblgen to use const RecordKeeper (#107536)</title>
<updated>2024-09-09T12:27:38+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-09-09T12:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=32cef07885e112d05bc2b1c285f40e353d80e18f'/>
<id>32cef07885e112d05bc2b1c285f40e353d80e18f</id>
<content type='text'>
Migrate LLDB TableGen backend to use const RecordKeeper.

This is a part of effort to have better const correctness in TableGen
backends:

https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Migrate LLDB TableGen backend to use const RecordKeeper.

This is a part of effort to have better const correctness in TableGen
backends:

https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][tblgen] Add `Source Filename` for `emitSourceFileHeader` (#65744)</title>
<updated>2023-09-26T05:40:56+00:00</updated>
<author>
<name>Shao-Ce SUN</name>
<email>ssc@lanxincomputing.com</email>
</author>
<published>2023-09-26T05:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b0e28eb832710964067a17d845de15ada2da2b9c'/>
<id>b0e28eb832710964067a17d845de15ada2da2b9c</id>
<content type='text'>
I think this is very helpful for reading generated `.inc` files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I think this is very helpful for reading generated `.inc` files.</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb]/Tablegen] Use ElementType instead of DefaultValueUnsinged</title>
<updated>2020-03-21T01:35:13+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-03-21T01:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=09c8845adfd9e86a227d6413d57b462d8566d399'/>
<id>09c8845adfd9e86a227d6413d57b462d8566d399</id>
<content type='text'>
The fourth field in the property struct is the default unsigned or enum
value for all types, except for Array and Dictionary types. For those,
it is the element type. During the tablegen conversion, this was
incorrectly translated to DefaultValueUnsigned with a value
corresponding to the OptionValue: enum type. So for
OptionValue::eTypeString this became DefaultUnsignedValue&lt;16&gt;. This
patch extends the tablegen backend to understand ElementType to express
this as ElementType&lt;"String"&gt;.

Differential revision: https://reviews.llvm.org/D76535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fourth field in the property struct is the default unsigned or enum
value for all types, except for Array and Dictionary types. For those,
it is the element type. During the tablegen conversion, this was
incorrectly translated to DefaultValueUnsigned with a value
corresponding to the OptionValue: enum type. So for
OptionValue::eTypeString this became DefaultUnsignedValue&lt;16&gt;. This
patch extends the tablegen backend to understand ElementType to express
this as ElementType&lt;"String"&gt;.

Differential revision: https://reviews.llvm.org/D76535
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDB] Fix inline variable only used in assertion. (NFC)</title>
<updated>2019-10-25T22:47:17+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-10-25T22:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=10b5cd8ed5272d135ac75a94d3cf5854a0912f84'/>
<id>10b5cd8ed5272d135ac75a94d3cf5854a0912f84</id>
<content type='text'>
This prevents unused variable warning/error in -DNDEBUG builds. The
variable was introduced in 5934cd11ea3e.

Patch by: Shu-Chun Weng

Differential revision: https://reviews.llvm.org/D69451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents unused variable warning/error in -DNDEBUG builds. The
variable was introduced in 5934cd11ea3e.

Patch by: Shu-Chun Weng

Differential revision: https://reviews.llvm.org/D69451
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add asserts to make sure default values match property type</title>
<updated>2019-10-25T17:18:38+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-10-25T17:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5934cd11ea3e15dd9f13a9ee960012b5b64463ec'/>
<id>5934cd11ea3e15dd9f13a9ee960012b5b64463ec</id>
<content type='text'>
This adds a few asserts to the property TableGen backend to prevent
mismatches between property types and their default values. This
would've prevented a copy-paste mistake we discovered downstream.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a few asserts to the property TableGen backend to prevent
mismatches between property types and their default values. This
would've prevented a copy-paste mistake we discovered downstream.
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Move helpers into LLDBTableGenUtils.</title>
<updated>2019-07-31T00:47:00+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-07-31T00:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=be019c7a1f84cbdf8e6910fde34da120b19114b1'/>
<id>be019c7a1f84cbdf8e6910fde34da120b19114b1</id>
<content type='text'>
Instead of polluting the LLDBTableGenBackends header with helpers used
by both emitters, move them into a separate files.

llvm-svn: 367377
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of polluting the LLDBTableGenBackends header with helpers used
by both emitters, move them into a separate files.

llvm-svn: 367377
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Reuse typedef across emitters (NFC)</title>
<updated>2019-07-30T22:50:37+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-07-30T22:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=310f6b89b198a2e7138c401fd442c98d84e14bb2'/>
<id>310f6b89b198a2e7138c401fd442c98d84e14bb2</id>
<content type='text'>
This moves the std::map typedef into the header so it can be reused by
all the emitter implementations.

llvm-svn: 367363
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves the std::map typedef into the header so it can be reused by
all the emitter implementations.

llvm-svn: 367363
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Also include the array definition in Properties.inc</title>
<updated>2019-07-29T16:41:30+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-07-29T16:41:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a8ea595509f33834091fb9e3234a373f83d709a8'/>
<id>a8ea595509f33834091fb9e3234a373f83d709a8</id>
<content type='text'>
Right now our Properties.inc only generates the initializer for the
options list but not the array declaration boilerplate around it. As the
array definition is identical for all arrays, we might as well also let
the Properties.inc generate it alongside the initializers.

Unfortunately we cannot do the same for enums, as there's this magic
ePropertyExperimental, which needs to come at the end to be interpreted
correctly. Hopefully we can get rid of this in the future and do the
same for the property enums.

Differential revision: https://reviews.llvm.org/D65353

llvm-svn: 367238
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Right now our Properties.inc only generates the initializer for the
options list but not the array declaration boilerplate around it. As the
array definition is identical for all arrays, we might as well also let
the Properties.inc generate it alongside the initializers.

Unfortunately we cannot do the same for enums, as there's this magic
ePropertyExperimental, which needs to come at the end to be interpreted
correctly. Hopefully we can get rid of this in the future and do the
same for the property enums.

Differential revision: https://reviews.llvm.org/D65353

llvm-svn: 367238
</pre>
</div>
</content>
</entry>
<entry>
<title>[Tablegen] Fix issues caused by incorrect escaping.</title>
<updated>2019-07-25T22:17:08+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-07-25T22:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7296fac558764bc892400aae038db0f70e79cd74'/>
<id>7296fac558764bc892400aae038db0f70e79cd74</id>
<content type='text'>
The printEscapedString would escape newlines by their ASCII values
instead of prefixing them with a `\`. Remove the escaping logic and
escape the strings in the definition file.

llvm-svn: 367065
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The printEscapedString would escape newlines by their ASCII values
instead of prefixing them with a `\`. Remove the escaping logic and
escape the strings in the definition file.

llvm-svn: 367065
</pre>
</div>
</content>
</entry>
</feed>
