llvm-6502/tools
Rafael Espindola 963cf75e1c Fix use of the getOpenFile api.
The gold plugin was passing the desired map size as the file size. This was
working for two reasons:
* Recent version of gold provide the get_view callback, so this code was not
  used.
* In older versions, getOpenFile was called, but the file size is never used
  if we don't require null terminated buffers and map size defaults to the
  file size.

Thanks to Eli Bendersky for noticing this.

I will try to make this api a bit less error prone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186978 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-23 18:44:31 +00:00
..
bugpoint Add a wrapper for open. 2013-07-16 19:44:17 +00:00
bugpoint-passes
gold Fix use of the getOpenFile api. 2013-07-23 18:44:31 +00:00
llc Recommit r186217 with testcase fix: 2013-07-22 20:15:21 +00:00
lli
llvm-ar Fix the build in c++03 mode. 2013-07-23 11:02:16 +00:00
llvm-as Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-bcanalyzer
llvm-config
llvm-cov
llvm-diff
llvm-dis Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-dwarfdump
llvm-extract Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-jitlistener
llvm-link Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-mc Improve llvm-mc disassembler mode and refactor ARM tests to use it 2013-07-19 10:05:04 +00:00
llvm-mcmarkup
llvm-nm
llvm-objdump
llvm-prof
llvm-readobj Retry submitting r186623: COFFDumper: Dump data directory entries. 2013-07-19 23:23:29 +00:00
llvm-rtdyld
llvm-shlib
llvm-size
llvm-stress Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-symbolizer LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace. 2013-07-17 06:53:51 +00:00
lto remove unnecessary space 2013-07-23 06:44:34 +00:00
macho-dump
obj2yaml
opt Recommit r186217 with testcase fix: 2013-07-22 20:15:21 +00:00
yaml2obj
CMakeLists.txt
LLVMBuild.txt
Makefile