summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-07-29 06:53:14 +0000
committerTobias Grosser <tobias@grosser.es>2014-07-29 06:53:14 +0000
commitb3af390087ce6833b3917f7de79e592d5cfe7026 (patch)
tree37c36b34eb99dca9f7e2e9164c11c63f99e3d77c /clang/lib/CodeGen/CGExpr.cpp
parent01b923d55b63ca55a4ff04c835531e4f185c1463 (diff)
downloadbcm5719-llvm-b3af390087ce6833b3917f7de79e592d5cfe7026.tar.gz
bcm5719-llvm-b3af390087ce6833b3917f7de79e592d5cfe7026.zip
Revert "Emit column debug information for loads"
This broke the following gdb tests: gdb.base__annota1.exp gdb.base__consecutive.exp gdb.python__py-symtab.exp gdb.reverse__consecutive-precsave.exp gdb.reverse__consecutive-reverse.exp I will look into this. This reverts commit 214162. llvm-svn: 214163
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index d3a01abf721..512b323ba10 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -1258,9 +1258,6 @@ void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue,
/// method emits the address of the lvalue, then loads the result as an rvalue,
/// returning the rvalue.
RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) {
- if (CGDebugInfo *DI = getDebugInfo())
- DI->EmitLocation(Builder, Loc, true);
-
if (LV.isObjCWeak()) {
// load of a __weak object.
llvm::Value *AddrWeakObj = LV.getAddress();
OpenPOWER on IntegriCloud