aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-04-24 14:35:38 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-05-15 06:15:52 -0500
commit9417d9fc38c81e1c13aec49f81fa7bf93c9a4bb6 (patch)
tree62175c99be1d2260925d1dbd72515005475fef1c /clang/lib/Frontend/CompilerInvocation.cpp
parent1a42f795587b9d57291d009989aace6efd0a7a7f (diff)
downloadllvm-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