Revert "DebugInfo: Generalize debug info location handling" and related commits
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 9 Jan 2015 23:00:28 +0000 (23:00 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 9 Jan 2015 23:00:28 +0000 (23:00 +0000)
commitf353d3ecd0329884110a8bd39f28b5cc111c9a69
tree070b18a0745ca81118c1a5e32351cdcadcceb79e
parenta10379ad49b9a102d9f6ab1bdafba67dc42f430b
Revert "DebugInfo: Generalize debug info location handling" and related commits

This reverts commit r225000, r225021, r225083, r225086, r225090.

The root change (r225000) still has several issues where it's caused
calls to be emitted without debug locations. This causes assertion
failures if/when those calls are inlined.

I'll work up some test cases and fixes before recommitting this.

llvm-svn: 225555
19 files changed:
clang/lib/CodeGen/CGBlocks.cpp
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CGCleanup.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGException.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/CodeGen/CGExprComplex.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/test/CodeGenCXX/PR20038.cpp
clang/test/CodeGenCXX/debug-info-line.cpp
clang/test/CodeGenCXX/debug-info-scope.cpp