diff options
author | Eric Christopher <echristo@gmail.com> | 2013-08-08 01:41:00 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-08-08 01:41:00 +0000 |
commit | 31667626106048c07866d996e667a3a10010ef4b (patch) | |
tree | 48f1f51ff6f58d08eb1724e31fd312fc9928e188 /include/llvm/DebugInfo.h | |
parent | e32032d812f3acac34bddc81ee8151d5c4a708d8 (diff) | |
download | llvm-31667626106048c07866d996e667a3a10010ef4b.tar.gz llvm-31667626106048c07866d996e667a3a10010ef4b.tar.bz2 llvm-31667626106048c07866d996e667a3a10010ef4b.tar.xz |
Be more rigorous about the sizes of forms and attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r-- | include/llvm/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index f7e6434b4d..74416db217 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -110,7 +110,7 @@ namespace llvm { return !operator==(Other); } - unsigned getTag() const { + uint16_t getTag() const { return getUnsignedField(0) & ~LLVMDebugVersionMask; } |