diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-04 06:12:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-04 06:12:44 +0000 |
commit | 69b1e71a3bee0cf1aba8e2f72e7a7d104cae76a0 (patch) | |
tree | 418587146907a96cd915175ad221d64363136e56 | |
parent | ee721156701ec3afb198d4cfede00095b228eeac (diff) |
Add a 'getCount' method to get the number of elements in the subrange.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169215 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/DebugInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index ee0505b2f5..70b1ef37ce 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -144,6 +144,7 @@ namespace llvm { uint64_t getLo() const { return getUInt64Field(1); } uint64_t getHi() const { return getUInt64Field(2); } + int64_t getCount() const { return getInt64Field(3); } }; /// DIArray - This descriptor holds an array of descriptors. |