summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
-rw-r--r--clang/lib/CodeGen/CGBlocks.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 3d825d33332..bd97b25555c 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/lib/CodeGen/CGBlocks.cpp
@@ -1314,6 +1314,8 @@ CodeGenFunction::GenerateCopyHelperFunction(const CGBlockInfo &blockInfo) {
false,
false);
StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation());
+ // Don't emit any line table entries for the body of this function.
+ BuiltinLocation BL(*this, Builder);
llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo();
@@ -1487,6 +1489,8 @@ CodeGenFunction::GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo) {
SC_Static,
false, false);
StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation());
+ // Don't emit any line table entries for the body of this function.
+ BuiltinLocation BL(*this, Builder);
llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo();
OpenPOWER on IntegriCloud