<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/AST/ByteCode/new-delete.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>[clang][bytecode] Don't call getThis() on the bottom function frame (#169044)</title>
<updated>2025-11-22T05:18:18+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-11-22T05:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3841e7d818de2b7581351c6de3bfc9b13bdaeb30'/>
<id>3841e7d818de2b7581351c6de3bfc9b13bdaeb30</id>
<content type='text'>
We can't access the calling frame in that case.

Fixes https://github.com/llvm/llvm-project/issues/169032</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can't access the calling frame in that case.

Fixes https://github.com/llvm/llvm-project/issues/169032</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix diagnosing subtration of zero-size pointers (#167839)</title>
<updated>2025-11-13T08:58:43+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-11-13T08:58:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=70eb4b0a6093bd0c5e03d6ff0f715b4b258ffa96'/>
<id>70eb4b0a6093bd0c5e03d6ff0f715b4b258ffa96</id>
<content type='text'>
We need to get the element type size at bytecode generation time to
check. We also need to diagnose this in the LHS == RHS case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to get the element type size at bytecode generation time to
check. We also need to diagnose this in the LHS == RHS case.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Don't crash on a null Descriptor (#160506)</title>
<updated>2025-09-24T12:48:38+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-09-24T12:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d94a8282fbc60bcbb94732f06c98b93a7b09a35f'/>
<id>d94a8282fbc60bcbb94732f06c98b93a7b09a35f</id>
<content type='text'>
... for dynamic memory allocation. This happens when the requested array
size is too large.

Fixes #152951</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... for dynamic memory allocation. This happens when the requested array
size is too large.

Fixes #152951</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Handle negative array sizes in constexpr `new` instead of asserting (#155737)</title>
<updated>2025-08-29T12:28:40+00:00</updated>
<author>
<name>Samarth Narang</name>
<email>70980689+snarang181@users.noreply.github.com</email>
</author>
<published>2025-08-29T12:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3b150fb12839f6b34136a9a36369973adb89d634'/>
<id>3b150fb12839f6b34136a9a36369973adb89d634</id>
<content type='text'>
This patch fixes a crash in the constexpr interpreter when evaluating
`new T[n]` with a negative element count.

Fixes https://github.com/llvm/llvm-project/issues/152904</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes a crash in the constexpr interpreter when evaluating
`new T[n]` with a negative element count.

Fixes https://github.com/llvm/llvm-project/issues/152904</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Save a per-block dynamic allocation ID (#154094)</title>
<updated>2025-08-19T04:52:21+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-19T04:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=25c137e43b830d85acf0cb27f6fe5786566e5f27'/>
<id>25c137e43b830d85acf0cb27f6fe5786566e5f27</id>
<content type='text'>
This fixes an old todo item about wrong allocation counting and some
diagnostic differences.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an old todo item about wrong allocation counting and some
diagnostic differences.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Disable location tracking for implicit field inits (#150190)</title>
<updated>2025-08-05T11:14:01+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-05T11:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dc7c3c2b2b1d0dfe20cd2b6783d7ab773054ad3d'/>
<id>dc7c3c2b2b1d0dfe20cd2b6783d7ab773054ad3d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Check new/delete mismatch earlier (#147732)</title>
<updated>2025-07-10T05:33:33+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-07-10T05:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=36cbd43ae8d5a5274ae3193b6383fff2ba9671f4'/>
<id>36cbd43ae8d5a5274ae3193b6383fff2ba9671f4</id>
<content type='text'>
This fixes a mismatch in diagnostic output with the current intepreter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a mismatch in diagnostic output with the current intepreter.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix comparing pointers pointing to base classes (#146285)</title>
<updated>2025-07-05T17:42:50+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-07-05T17:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fb2c7610e831646c5e01986306e8771730c937ff'/>
<id>fb2c7610e831646c5e01986306e8771730c937ff</id>
<content type='text'>
In the attached test case, one pointer points to the `Derived` class and
one to `Base`, but they should compare equal. They didn't because those
two bases are saved at different offsets in the block. Use
`computeOffsetForComparison` not just for unions and fix it to work in
the more general cases.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the attached test case, one pointer points to the `Derived` class and
one to `Base`, but they should compare equal. They didn't because those
two bases are saved at different offsets in the block. Use
`computeOffsetForComparison` not just for unions and fix it to work in
the more general cases.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix calling operator new with nothrow/align parameter (#144271)</title>
<updated>2025-06-16T06:28:52+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-06-16T06:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4f9e6bad8438f4440bfd68be2f0ebdca0d588d47'/>
<id>4f9e6bad8438f4440bfd68be2f0ebdca0d588d47</id>
<content type='text'>
Discard all the parameters we don't care about.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discard all the parameters we don't care about.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Check lifetime of all ptr bases in placement-new (#141272)</title>
<updated>2025-05-24T12:17:26+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-05-24T12:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=294643e4bdc843343ef20069a4d6d0de872b3303'/>
<id>294643e4bdc843343ef20069a4d6d0de872b3303</id>
<content type='text'>
placement-new'ing an object with a dead base object is not allowed, so
we need to check all the pointer bases.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
placement-new'ing an object with a dead base object is not allowed, so
we need to check all the pointer bases.</pre>
</div>
</content>
</entry>
</feed>
