Do not round uintX_t to uint32_t.

On 64-bit computers, this value can be larger than UINT32_MAX.

llvm-svn: 259847
This commit is contained in:
Rui Ueyama 2016-02-04 23:39:33 +00:00
parent d68aae24e4
commit 8e47eba9fd
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public:
// the number of reserved entries. This method is MIPS-specific.
unsigned getMipsLocalEntriesNum() const;
uint32_t getLocalTlsIndexVA() { return Base::getVA() + LocalTlsIndexOff; }
uintX_t getLocalTlsIndexVA() { return Base::getVA() + LocalTlsIndexOff; }
private:
std::vector<const SymbolBody *> Entries;