aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2020-11-06 04:07:35 +0000
committerMehdi Amini <joker.eph@gmail.com>2020-11-06 04:09:18 +0000
commit2af37cf7ffc43daa9523f209050761039c29964b (patch)
tree5ea6ab49c0f532e426eb3a0196538f7420f110a3 /clang/lib/CodeGen/CodeGenFunction.cpp
parent247c5b5d69631c9f5fce9bf914f09f84e5cf8232 (diff)
downloadllvm-2af37cf7ffc43daa9523f209050761039c29964b.zip
llvm-2af37cf7ffc43daa9523f209050761039c29964b.tar.gz
llvm-2af37cf7ffc43daa9523f209050761039c29964b.tar.bz2
Check for nullptr before dereferencing in translateModuleToLLVMIR()
This is defensive with respect to invocations of this API with an IR that isn't ready to be converted to LLVM IR.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions