diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-04-24 14:35:38 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-05-15 06:15:52 -0500 |
commit | 9417d9fc38c81e1c13aec49f81fa7bf93c9a4bb6 (patch) | |
tree | 62175c99be1d2260925d1dbd72515005475fef1c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1a42f795587b9d57291d009989aace6efd0a7a7f (diff) | |
download | llvm-9417d9fc38c81e1c13aec49f81fa7bf93c9a4bb6.zip llvm-9417d9fc38c81e1c13aec49f81fa7bf93c9a4bb6.tar.gz llvm-9417d9fc38c81e1c13aec49f81fa7bf93c9a4bb6.tar.bz2 |
[libc] Make the bump pointer explicitly return null on buffer oveerrun
We use a simple bump ptr in the `libc` tests. If we run out of data we
can currently return other static memory and have weird failure cases.
We should fail more explicitly here by returning a null pointer instead.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D150529
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions