#
51c7338c |
| 29-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix dummy handling for p2280r4 (#124396)
This makes some other problems show up like the fact that we didn't suppress diagnostics during __builtin_constant_p evaluation.
|
Revision tags: llvmorg-21-init |
|
#
e6030d38 |
| 24-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Use std::allocator calls for Descriptor source (#123900)
... for the dynamic blocks created for operator new calls. This way we get the type of memory allocated right. As a side-ef
[clang][bytecode] Use std::allocator calls for Descriptor source (#123900)
... for the dynamic blocks created for operator new calls. This way we get the type of memory allocated right. As a side-effect, the diagnostics now point to the std::allocator calls, which is an improvement.
show more ...
|
Revision tags: llvmorg-19.1.7 |
|
#
dc3cd2e9 |
| 04-Jan-2025 |
Chandler Carruth <chandlerc@gmail.com> |
Factor common code for quoting a builtin name (#120835)
This shows up in several places in order to match the quoting of other
uses of the same diagnostic. Handling it centrally simplifies the code
Factor common code for quoting a builtin name (#120835)
This shows up in several places in order to match the quoting of other
uses of the same diagnostic. Handling it centrally simplifies the code
and reduces changes if the storage for builtin names changes.
This refactoring is extracted out of #120534 as requested in code
review.
show more ...
|
#
02b30128 |
| 02-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Always return false for invalid bcp results (#121467)
|
#
34097c07 |
| 02-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Consider unknown-size arrays in memcpy/memcmp (#121462)
When emitting diagnostics for the number of elements.
|
#
45e874e3 |
| 02-Jan-2025 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Check for memcpy/memmove dummy pointers earlier (#121453)
|
#
f0d60170 |
| 31-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Check memove/memcpy for available elements (#121383)
Both destination and source pointer need to have at least as many elements as requested.
|
#
1f2d9345 |
| 19-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Support pointers in __builtin_mem{move,cpy} (#120560)
Unfortunately, that means we can't use the __builtin_bit_cast implementation for this.
|
Revision tags: llvmorg-19.1.6 |
|
#
dd6f6a09 |
| 16-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle builtin_wmemcmp (#120070)
|
#
30cbd09f |
| 13-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix memcmp/bcmp failures on big-endian hosts (#119851)
See the discussion in
https://github.com/llvm/llvm-project/pull/119678#issuecomment-2539680746 and https://github.com/llvm/l
[clang][bytecode] Fix memcmp/bcmp failures on big-endian hosts (#119851)
See the discussion in
https://github.com/llvm/llvm-project/pull/119678#issuecomment-2539680746 and https://github.com/llvm/llvm-project/pull/119544#issuecomment-2539678561
show more ...
|
#
98470c0b |
| 12-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle __builtin_bcmp (#119678)
... the same as `__builtin_memcmp`. Also fix a bug we still had when we
couldn't find a difference in the two inputs after `Size` bytes.
|
#
cfad8f14 |
| 12-Dec-2024 |
Timm Bäder <tbaeder@redhat.com> |
[clang][bytecode] Fix a build failure on aarch64
This broke e.g. https://lab.llvm.org/buildbot/#/builders/190/builds/11216
|
#
8713914d |
| 12-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle __builtin_memcmp (#119544)
|
#
d416cae1 |
| 11-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode][NFC] Use Pointer::pointToSameBlock (#119552)
block() requires the pointer to be a block pointer.
|
#
4dde52d7 |
| 11-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Check for overlapping memcpy regions (#119535)
|
#
6168739f |
| 09-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Reject memcpy sizes with element size remainder (#119209)
|
#
d17e51f3 |
| 09-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle __builtin_strncmp (#119208)
|
#
4f08fa1a |
| 09-Dec-2024 |
Jie Fu <jiefu@tencent.com> |
[clang] Fix -Wunused-variable in InterpBuiltin.cpp (NFC)
/llvm-project/clang/lib/AST/ByteCode/InterpBuiltin.cpp:262:23: error: unused variable 'AC' [-Werror,-Wunused-variable] const ASTContext &
[clang] Fix -Wunused-variable in InterpBuiltin.cpp (NFC)
/llvm-project/clang/lib/AST/ByteCode/InterpBuiltin.cpp:262:23: error: unused variable 'AC' [-Werror,-Wunused-variable] const ASTContext &AC = S.getASTContext(); ^ 1 error generated.
show more ...
|
#
00b50c91 |
| 09-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle __builtin_wcslen (#119187)
Handle different char widths in builtin_strlen.
|
#
abc27039 |
| 05-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Pass __builtin_memcpy size along (#118649)
To DoBitCastPtr, so we know how many bytes we want to read.
|
#
61c2ac03 |
| 03-Dec-2024 |
Timm Bäder <tbaeder@redhat.com> |
Revert "[clang][bytecode] Handle __builtin_wcslen (#118446)"
This reverts commit 89a0ee89973c3d213c4bc11c26b41eab67e06da0.
This breaks builders: https://lab.llvm.org/buildbot/#/builders/13/builds/3
Revert "[clang][bytecode] Handle __builtin_wcslen (#118446)"
This reverts commit 89a0ee89973c3d213c4bc11c26b41eab67e06da0.
This breaks builders: https://lab.llvm.org/buildbot/#/builders/13/builds/3885
show more ...
|
#
3f39c5df |
| 03-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Reject memcpy dummy pointers after null check (#118460)
To match the diagnostic output of the current interpreter.
|
#
0f4dc427 |
| 03-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Initialize elements in __builtin_elementwise_popcount (#118457)
|
#
89a0ee89 |
| 03-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle __builtin_wcslen (#118446)
... just like strlen.
|
#
46446bb2 |
| 03-Dec-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode][NFC] Diagnose non-constexpr builtin strcmp calls (#118442)
|