aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-01-08 13:53:39 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2022-01-08 17:01:19 -0600
commit37639b72a17be443e7f73e906554f8bbd0dbf271 (patch)
tree00ce1eb418ef84ffeee415fb7a86041b35bbc0d9 /clang/lib/CodeGen/CodeGenModule.cpp
parent6c745e04fac8241e1be6ef90a654228d4eb3ff2b (diff)
downloadllvm-37639b72a17be443e7f73e906554f8bbd0dbf271.zip
llvm-37639b72a17be443e7f73e906554f8bbd0dbf271.tar.gz
llvm-37639b72a17be443e7f73e906554f8bbd0dbf271.tar.bz2
[OpenMP][FIX] Emit debug declares only if debug info is available
The `EmitDeclareOfAutoVariable` introduced in D114504 and D115510 has a precondition that cannot be violated. It is unclear if we should call it directly given the sparse usage in clang but for now we should at least not crash if the debug info kind is too low. Fixes #52938. Differential Revision: https://reviews.llvm.org/D116865
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions