diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2020-04-21 16:27:39 -0400 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2020-04-21 17:10:50 -0400 |
commit | 5f6aa9680c19534a382cb652178e0ff6edbe78de (patch) | |
tree | a3f75925dc1ce6e27e8882b848d756ae1086bdac /lldb/unittests/ScriptInterpreter/Python | |
parent | ba942610f6be63fe11b61e637ca5db2c4ef9ba8a (diff) | |
download | llvm-5f6aa9680c19534a382cb652178e0ff6edbe78de.zip llvm-5f6aa9680c19534a382cb652178e0ff6edbe78de.tar.gz llvm-5f6aa9680c19534a382cb652178e0ff6edbe78de.tar.bz2 |
[OpenMP] target_data_begin: fail on device alloc fail
Without this patch, target_data_begin continues after an illegal
mapping or an out-of-memory error on the device. With this patch, it
terminates the runtime with an error instead.
The new test exercises only illegal mappings. I didn't think of a
good way to exercise out-of-memory errors from the test suite.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D78170
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions