diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-16 18:20:05 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-16 18:20:05 +0000 |
commit | 5223bf761d1d6ee0641bf2644e25265e84801926 (patch) | |
tree | cc8a3597d3df52036e0c466a90fa172903db50e6 /include/llvm/Analysis | |
parent | 7464a698dfc9a4b4a42a303e71eb327768288463 (diff) | |
download | external_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.h | 5 |
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); |