diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 16:01:13 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 16:01:13 +0000 |
| commit | 79730ad07d6bdc2bcae5694aad884090c4f2b9cf (patch) | |
| tree | 44139098e29bf90365d9af456c97604026597170 /llvm/lib/DebugInfo/DWARFDebugAbbrev.h | |
| parent | cda5732e52b4d9971e4c1525a8062080817f44da (diff) | |
| download | bcm5719-llvm-79730ad07d6bdc2bcae5694aad884090c4f2b9cf.tar.gz bcm5719-llvm-79730ad07d6bdc2bcae5694aad884090c4f2b9cf.zip | |
Audited all the format strings in libDebugInfo and fixed those that didn't match the types.
llvm-svn: 143814
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugAbbrev.h')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugAbbrev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h b/llvm/lib/DebugInfo/DWARFDebugAbbrev.h index 03189b13212..c7c0436866c 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAbbrev.h +++ b/llvm/lib/DebugInfo/DWARFDebugAbbrev.h @@ -25,21 +25,21 @@ typedef DWARFAbbreviationDeclarationColl::const_iterator DWARFAbbreviationDeclarationCollConstIter; class DWARFAbbreviationDeclarationSet { - uint64_t Offset; + uint32_t Offset; uint32_t IdxOffset; std::vector<DWARFAbbreviationDeclaration> Decls; public: DWARFAbbreviationDeclarationSet() : Offset(0), IdxOffset(0) {} - DWARFAbbreviationDeclarationSet(uint64_t offset, uint32_t idxOffset) + DWARFAbbreviationDeclarationSet(uint32_t offset, uint32_t idxOffset) : Offset(offset), IdxOffset(idxOffset) {} void clear() { IdxOffset = 0; Decls.clear(); } - uint64_t getOffset() const { return Offset; } + uint32_t getOffset() const { return Offset; } void dump(raw_ostream &OS) const; bool extract(DataExtractor data, uint32_t* offset_ptr); |

