diff options
| author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-10-22 21:51:58 +0000 |
|---|---|---|
| committer | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-10-22 21:51:58 +0000 |
| commit | f7319ba47919e226d0d0dfd1d351d3207a44e280 (patch) | |
| tree | 7a7583e06125eac54229cb2ba3a06c6be1eb6182 /lib/CodeGen/CGExpr.cpp | |
| parent | 3ba915b996a7bc2e6d0a8be0d15158a388c9dbdb (diff) | |
| download | clang-f7319ba47919e226d0d0dfd1d351d3207a44e280.tar.gz | |
Revert "Ensure sanitizer check function calls have a !dbg location"
This reverts commit r344915. It was causing exceptions on the
x86_64-linux-ubsan bot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 8a8f38678f..55fa455116 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -2867,9 +2867,6 @@ static void emitCheckHandlerCall(CodeGenFunction &CGF, CheckRecoverableKind RecoverKind, bool IsFatal, llvm::BasicBlock *ContBB) { assert(IsFatal || RecoverKind != CheckRecoverableKind::Unrecoverable); - auto *DI = CGF.getDebugInfo(); - SourceLocation Loc = DI ? DI->getLocation() : SourceLocation(); - auto DL = ApplyDebugLocation::CreateDefaultArtificial(CGF, Loc); bool NeedsAbortSuffix = IsFatal && RecoverKind != CheckRecoverableKind::Unrecoverable; bool MinimalRuntime = CGF.CGM.getCodeGenOpts().SanitizeMinimalRuntime; |
