diff options
| author | Devang Patel <dpatel@apple.com> | 2010-09-28 18:08:20 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-09-28 18:08:20 +0000 |
| commit | 7a55481fa4605d27f4096a4d9f678bfb20df9f7e (patch) | |
| tree | dad3bdf5fd9e4bdfb51838210cd4b35b3f66b275 /llvm/include | |
| parent | 1ba435f0f95de7b60566248402924225e479c684 (diff) | |
| download | bcm5719-llvm-7a55481fa4605d27f4096a4d9f678bfb20df9f7e.tar.gz bcm5719-llvm-7a55481fa4605d27f4096a4d9f678bfb20df9f7e.zip | |
Provide an interface to let FEs anchor debug info for types.
llvm-svn: 114969
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Analysis/DebugInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h index d5733aeb75f..1b544e5c145 100644 --- a/llvm/include/llvm/Analysis/DebugInfo.h +++ b/llvm/include/llvm/Analysis/DebugInfo.h @@ -763,6 +763,11 @@ namespace llvm { /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. Instruction *InsertDbgValueIntrinsic(llvm::Value *V, uint64_t Offset, DIVariable D, Instruction *InsertBefore); + + // RecordType - Record DIType in a module such that it is not lost even if + // it is not referenced through debug info anchors. + void RecordType(DIType T); + private: Constant *GetTagConstant(unsigned TAG); }; |

