aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorBryan Chan <bryan.chan@huawei.com>2021-06-07 10:37:24 -0400
committerBryan Chan <bryan.chan@huawei.com>2021-06-07 10:45:48 -0400
commit54f059c9007b48e4ff700ac587cbb137fff91fb7 (patch)
tree1f0f927ba10e85714ec4d8db540da40ebd048fcc /clang/lib/CodeGen/CodeGenFunction.h
parente1da3297d253b33be1ff941cf9ed9091dd332ea5 (diff)
downloadllvm-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