Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2 |
|
#
871086bf |
| 12-Mar-2024 |
Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> |
[flang] Avoid passing null pointers to nonnull parameters (#84785)
Certain functions in glibc have "nonnull" attributes on pointer
parameters (even in cases where passing a null pointer should be h
[flang] Avoid passing null pointers to nonnull parameters (#84785)
Certain functions in glibc have "nonnull" attributes on pointer
parameters (even in cases where passing a null pointer should be handled
correctly). There are a few cases of such calls in flang: memcmp and
memcpy with the length parameter set to 0.
Avoid passing a null pointer to these functions, since the conflict with
the nonnull attribute could cause an undefined behavior.
This was detected by the undefined behavior sanitizer.
show more ...
|
Revision tags: llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4 |
|
#
668f261b |
| 23-Aug-2023 |
Slava Zakharin <szakharin@nvidia.com> |
[flang] Make ISO_Fortran_binding.h a standalone header again.
This implements the proposal from https://discourse.llvm.org/t/adding-flang-specific-header-files-to-clang/72442/6 Since ISO_Fortran_bin
[flang] Make ISO_Fortran_binding.h a standalone header again.
This implements the proposal from https://discourse.llvm.org/t/adding-flang-specific-header-files-to-clang/72442/6 Since ISO_Fortran_binding.h is supposed to be included from users' C/C++ codes, it would better have no dependencies on other header files.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D158549
show more ...
|
Revision tags: llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3 |
|
#
c0193729 |
| 27-Apr-2023 |
Tom Eccles <tom.eccles@arm.com> |
[flang][runtime] Add dynamically allocated temporary storage
These functions will be used as part of the HLFIR lowering for forall/where. The contents of the API were requested by @jeanPerier.
The
[flang][runtime] Add dynamically allocated temporary storage
These functions will be used as part of the HLFIR lowering for forall/where. The contents of the API were requested by @jeanPerier.
The API is designed around that use case, assuming that the caller knows through some side channel what size to allocate for boxes returned from the pop() function.
Differential Revision: https://reviews.llvm.org/D150050
show more ...
|