commit | ce7d35988d1ca5e17758283804ea1f76389dc1f0 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Thu Dec 05 12:26:16 2019 -0800 |
committer | Adrian Prantl <aprantl@apple.com> | Thu Dec 05 12:45:10 2019 -0800 |
tree | 36b3cf242fa13e67a556a471ef90a12f20d93bee | |
parent | a1a9aa17b4db08937e458cdda85327b9eff307df [diff] [blame] |
Debug Info: Assert that location is available for cleanups rdar://57630879 Differential Revision: https://reviews.llvm.org/D71042
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 8ce403c..9f1b907 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -6189,7 +6189,7 @@ // Emit the finalizer body: // <destroy>(<type>* %0) RCG.emitCleanups(CGF, N, PrivateAddr); - CGF.FinishFunction(); + CGF.FinishFunction(Loc); return Fn; }