use 64-bit types instead of off_t/size_t to avoid the issue when
authorIvan Krasin <krasin@chromium.org>
Thu, 15 Sep 2011 23:13:00 +0000 (23:13 +0000)
committerIvan Krasin <krasin@chromium.org>
Thu, 15 Sep 2011 23:13:00 +0000 (23:13 +0000)
commit71280b55a3406c7dd4215449bf4a3ab216e78ffd
tree81cd494c9225445a8ad0b41ec0793bf30a76460c
parent6b5b79c7e8aec3138727e102e85aaf1c3a01765e
use 64-bit types instead of off_t/size_t to avoid the issue when
gold plugin is built with Large File Support (sizeof(off_t) == 64 on i686)
and the rest of LLVM is built w/o Large File Support
(sizeof(off_t) == 32 on i686) which corrupts the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139873 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MemoryBuffer.h
lib/Support/MemoryBuffer.cpp
tools/gold/gold-plugin.cpp