diff options
author | Stuart Hastings <stuart@apple.com> | 2010-05-27 16:16:54 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-05-27 16:16:54 +0000 |
commit | aa66d2f48ad0c2d2b3f8929dea432bb17a5442a5 (patch) | |
tree | 8c5d14caf77811bb969868edeb4cfd02e0baa79c /lib/Analysis/DebugInfo.cpp | |
parent | 43a83c4094d781248c9caebe27b941d05ae7f62e (diff) |
Support for nested functions/classes in debug output. Radar 7424645.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index a7b6d2b65e..46abf33339 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/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 //===----------------------------------------------------------------------===// |