Skip to content

Commit 730af40

Browse files
committed
Recover from an incorrect merge conflict resolution
1 parent a9f05c8 commit 730af40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,8 +2070,8 @@ void IRGenDebugInfoImpl::setInlinedTrapLocation(IRBuilder &Builder,
20702070
TheLastScope = TheLastScope->InlinedCallSite;
20712071
}
20722072
auto LastLocation = llvm::DILocation::get(
2073-
IGM.getLLVMContext(), LastDebugLoc.line, LastDebugLoc.column,
2074-
getOrCreateScope(TheLastScope));
2073+
IGM.getLLVMContext(), LastFilenameAndLocation.line,
2074+
LastFilenameAndLocation.column, getOrCreateScope(TheLastScope));
20752075
// FIXME: This location should point to stdlib instead of being artificial.
20762076
auto DL = llvm::DILocation::get(IGM.getLLVMContext(), 0, 0,
20772077
getOrCreateScope(Scope), LastLocation);

0 commit comments

Comments
 (0)