diff options
author | Devang Patel <dpatel@apple.com> | 2009-01-05 18:59:44 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-01-05 18:59:44 +0000 |
commit | 86ae142c51fc29ab870ebf42f6bf8699bca81512 (patch) | |
tree | 1e648dbb6b003a831af7445015f1a3340d58d896 /include | |
parent | 0d8484f2edb1069522f5c3de6467433e0fbe9323 (diff) | |
download | external_llvm-86ae142c51fc29ab870ebf42f6bf8699bca81512.zip external_llvm-86ae142c51fc29ab870ebf42f6bf8699bca81512.tar.gz external_llvm-86ae142c51fc29ab870ebf42f6bf8699bca81512.tar.bz2 |
Construct stuct field DIEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index c97cb26..bc89102 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -228,6 +228,7 @@ namespace llvm { explicit DISubprogram(GlobalVariable *GV = 0); std::string getFilename() const { return getStringField(11); } std::string getDirectory() const { return getStringField(12); } + DICompositeType getType() const { return getFieldAs<DICompositeType>(8); } }; /// DIGlobalVariable - This is a wrapper for a global variable. |