mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-06 00:59:46 -08:00
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