aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-10-18 11:41:43 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-10-29 14:57:12 -0400
commit6dd791bca858c0d5241689c9eefd9313fe823ee3 (patch)
tree7c692c758bb91ba81ca0c6aa3fbf7dfe12c0a1da /clang/unittests/Basic/FileManagerTest.cpp
parent74f91741b66b9327fdbae6411286672ec088c3a3 (diff)
downloadllvm-6dd791bca858c0d5241689c9eefd9313fe823ee3.zip
llvm-6dd791bca858c0d5241689c9eefd9313fe823ee3.tar.gz
llvm-6dd791bca858c0d5241689c9eefd9313fe823ee3.tar.bz2
[OpenMP] Check output of malloc in the device for debug
A common problem is the device running out of global heap memory and crashing due to a nullptr dereference when using the data sharing stack. This explicitly checks that a nullptr was not returned by malloc when debugging field 1 is enabled. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D112005
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions