When dumping out errors about unsupported stuff, emit loc info.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41907 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGExprComplex.cpp b/CodeGen/CGExprComplex.cpp
index ec5a1bc..067d289 100644
--- a/CodeGen/CGExprComplex.cpp
+++ b/CodeGen/CGExprComplex.cpp
@@ -67,7 +67,7 @@
   //===--------------------------------------------------------------------===//
 
   ComplexPairTy VisitStmt(Stmt *S) {
-    S->dump();
+    S->dump(CGF.getContext().SourceMgr);
     assert(0 && "Stmt can't have complex result type!");
     return ComplexPairTy();
   }
@@ -233,7 +233,7 @@
 
 ComplexPairTy ComplexExprEmitter::VisitExpr(Expr *E) {
   fprintf(stderr, "Unimplemented complex expr!\n");
-  E->dump();
+  E->dump(CGF.getContext().SourceMgr);
   const llvm::Type *EltTy = 
     CGF.ConvertType(E->getType()->getAsComplexType()->getElementType());
   llvm::Value *U = llvm::UndefValue::get(EltTy);