From fcd661d2786b7915919e5422da37a9539cc44882 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Mon, 24 Sep 2018 18:24:18 +0000 Subject: [CodeGen] Revert commit https://reviews.llvm.org/rL342717 llvm-svn: 342912 --- clang/lib/CodeGen/CGException.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CGException.cpp') diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 787d25a681a..4ee835259a5 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -767,8 +767,7 @@ llvm::BasicBlock *CodeGenFunction::EmitLandingPad() { // Save the current IR generation state. CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); - auto DL = ApplyDebugLocation::CreateDefaultArtificial( - *this, CurEHLocation, true /* ImplicitCode */); + auto DL = ApplyDebugLocation::CreateDefaultArtificial(*this, CurEHLocation); // Create and configure the landing pad. llvm::BasicBlock *lpad = createBasicBlock("lpad"); -- cgit v1.2.3