diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-10-18 11:41:43 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2021-10-29 14:57:12 -0400 |
commit | 6dd791bca858c0d5241689c9eefd9313fe823ee3 (patch) | |
tree | 7c692c758bb91ba81ca0c6aa3fbf7dfe12c0a1da /llvm/lib/Support/GraphWriter.cpp | |
parent | 74f91741b66b9327fdbae6411286672ec088c3a3 (diff) | |
download | llvm-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 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions