aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorRachel Craik <rcraik@ca.ibm.com>2017-09-19 21:04:23 +0000
committerRachel Craik <rcraik@ca.ibm.com>2017-09-19 21:04:23 +0000
commit1cf49e4d129bf63db3dcb96dd6b651be5c0cc836 (patch)
tree42f1540ca81274056bf341395023ae214a13fb27 /llvm/lib/Object/WasmObjectFile.cpp
parent7c1ef6cbdcf0f489adf66fd16d06367482d17c64 (diff)
downloadllvm-1cf49e4d129bf63db3dcb96dd6b651be5c0cc836.zip
llvm-1cf49e4d129bf63db3dcb96dd6b651be5c0cc836.tar.gz
llvm-1cf49e4d129bf63db3dcb96dd6b651be5c0cc836.tar.bz2
[OpenMP] fix seg-faults printing diagnostics with invalid ordered(n) values
When the value specified for n in ordered(n) is larger than the number of loops a segmentation fault can occur in one of two ways when attempting to print out a diagnostic for an associated depend(sink : vec): 1) The iteration vector vec contains less than n items 2) The iteration vector vec contains a variable that is not a loop control variable This patch addresses both of these issues. Differential Revision: https://reviews.llvm.org/D38049 llvm-svn: 313675
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions