diff options
author | Devang Patel <dpatel@apple.com> | 2009-11-10 23:06:00 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-11-10 23:06:00 +0000 |
commit | f6eeaebd768e0d6d9f7999884f131ae83db86c4f (patch) | |
tree | d64353bdb2ebfe1f81841efadaa949461b6836c9 /llvm/lib/Analysis/DebugInfo.cpp | |
parent | a5056f5b2b06a986878eb185c5faf4484d9d9b62 (diff) | |
download | bcm5719-llvm-f6eeaebd768e0d6d9f7999884f131ae83db86c4f.tar.gz bcm5719-llvm-f6eeaebd768e0d6d9f7999884f131ae83db86c4f.zip |
Implement support to debug inlined functions.
llvm-svn: 86748
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 390ebf93e2a..7d7ed6fd2ea 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/lib/Analysis/DebugInfo.cpp @@ -1487,22 +1487,4 @@ bool getLocationInfo(const Value *V, std::string &DisplayName, return DebugLoc::get(Id); } - - /// isInlinedFnStart - Return true if FSI is starting an inlined function. - bool isInlinedFnStart(DbgFuncStartInst &FSI, const Function *CurrentFn) { - DISubprogram Subprogram(cast<MDNode>(FSI.getSubprogram())); - if (Subprogram.describes(CurrentFn)) - return false; - - return true; - } - - /// isInlinedFnEnd - Return true if REI is ending an inlined function. - bool isInlinedFnEnd(DbgRegionEndInst &REI, const Function *CurrentFn) { - DISubprogram Subprogram(cast<MDNode>(REI.getContext())); - if (Subprogram.isNull() || Subprogram.describes(CurrentFn)) - return false; - - return true; - } } |