aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-16 18:20:05 +0000
committerDevang Patel <dpatel@apple.com>2009-09-16 18:20:05 +0000
commit5223bf761d1d6ee0641bf2644e25265e84801926 (patch)
treecc8a3597d3df52036e0c466a90fa172903db50e6 /include/llvm/Analysis
parent7464a698dfc9a4b4a42a303e71eb327768288463 (diff)
downloadexternal_llvm-5223bf761d1d6ee0641bf2644e25265e84801926.zip
external_llvm-5223bf761d1d6ee0641bf2644e25265e84801926.tar.gz
external_llvm-5223bf761d1d6ee0641bf2644e25265e84801926.tar.bz2
Provide a way to extract location info from DILocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/DebugInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index b962d13..b4e0fc3 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -670,6 +670,11 @@ namespace llvm {
DebugLocTracker &DebugLocInfo);
/// ExtractDebugLocation - Extract debug location information
+ /// from DILocation.
+ DebugLoc ExtractDebugLocation(DILocation &Loc,
+ DebugLocTracker &DebugLocInfo);
+
+ /// ExtractDebugLocation - Extract debug location information
/// from llvm.dbg.func_start intrinsic.
DebugLoc ExtractDebugLocation(DbgFuncStartInst &FSI,
DebugLocTracker &DebugLocInfo);