diff options
author | Bryan Chan <bryan.chan@huawei.com> | 2021-06-07 10:37:24 -0400 |
---|---|---|
committer | Bryan Chan <bryan.chan@huawei.com> | 2021-06-07 10:45:48 -0400 |
commit | 54f059c9007b48e4ff700ac587cbb137fff91fb7 (patch) | |
tree | 1f0f927ba10e85714ec4d8db540da40ebd048fcc /clang/lib/CodeGen/CodeGenFunction.h | |
parent | e1da3297d253b33be1ff941cf9ed9091dd332ea5 (diff) | |
download | llvm-54f059c9007b48e4ff700ac587cbb137fff91fb7.zip llvm-54f059c9007b48e4ff700ac587cbb137fff91fb7.tar.gz llvm-54f059c9007b48e4ff700ac587cbb137fff91fb7.tar.bz2 |
[OpenMP] Check loc for NULL before dereferencing it
The ident_t * argument in __kmp_get_monotonicity was being used without
a customary NULL check, causing the function to crash in a Debug build.
Release builds were not affected thanks to dead store elimination.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions