llvm-6502/tools/lto
Rafael Espindola 70c7e48545 Split getOpenFile into getOpenFile and getOpenFileSlice.
The main observation is that we never need both the filesize and the map size.
When mapping a slice of a file, it doesn't make sense to request a null
terminator and that would be the only case where the filesize would be used.

There are other cleanups that should be done in this area:

* A client should not have to pass the size (even an explicit -1) to say if
  it wants a null terminator or not, so we should probably swap the argument
  order.
* The default should be to not require a null terminator. Very few clients
  require this, but many end up asking for it just because it is the default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186984 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-23 20:25:01 +00:00
..
CMakeLists.txt [CMake] Update dependencies to intrinsics_gen corresponding to r169711. 2012-12-10 05:27:15 +00:00
lto.cpp Split getOpenFile into getOpenFile and getOpenFileSlice. 2013-07-23 20:25:01 +00:00
lto.exports Revert r169656. 2012-12-10 21:33:45 +00:00
LTOCodeGenerator.cpp remove unnecessary space 2013-07-23 06:44:34 +00:00
LTOCodeGenerator.h Initialize/Register LTO passes to enable flags like -print-after=<lto-pass> 2013-07-22 18:40:34 +00:00
LTODisassembler.cpp libLTO: Add a utility method to initialize the disassemblers. 2012-11-24 16:59:10 +00:00
LTOModule.cpp Split getOpenFile into getOpenFile and getOpenFileSlice. 2013-07-23 20:25:01 +00:00
LTOModule.h Split getOpenFile into getOpenFile and getOpenFileSlice. 2013-07-23 20:25:01 +00:00
Makefile Remove "-Wl,-seg1addr -Wl,0xE0000000" from link options. 2013-06-04 15:26:37 +00:00