summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2010-05-27 16:16:54 +0000
committerStuart Hastings <stuart@apple.com>2010-05-27 16:16:54 +0000
commit8e99e50d08b646b0b742cda5612e8999abce6416 (patch)
treef476480469edc7e7f92285717ef73bce01b3f84f /llvm/lib/Analysis/DebugInfo.cpp
parent7d6996dfaf3f4ecf6ae803e70fa8a30cfec690a0 (diff)
downloadbcm5719-llvm-8e99e50d08b646b0b742cda5612e8999abce6416.tar.gz
bcm5719-llvm-8e99e50d08b646b0b742cda5612e8999abce6416.zip
Support for nested functions/classes in debug output. Radar 7424645.
llvm-svn: 104841
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index a7b6d2b65ee..46abf333398 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -1110,18 +1110,6 @@ DILocation DIFactory::CreateLocation(unsigned LineNo, unsigned ColumnNo,
return DILocation(MDNode::get(VMContext, &Elts[0], 4));
}
-/// CreateLocation - Creates a debug info location.
-DILocation DIFactory::CreateLocation(unsigned LineNo, unsigned ColumnNo,
- DIScope S, MDNode *OrigLoc) {
- Value *Elts[] = {
- ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
- ConstantInt::get(Type::getInt32Ty(VMContext), ColumnNo),
- S,
- OrigLoc
- };
- return DILocation(MDNode::get(VMContext, &Elts[0], 4));
-}
-
//===----------------------------------------------------------------------===//
// DIFactory: Routines for inserting code into a function
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud