llvm-6502/tools/lto
Shuxin Yang 67d135ae40 Misc enhancements to LTO:
1. Add some helper classes for partitions. They are designed in a
     way such that the top-level LTO driver will not see much difference 
     with or without partitioning.

  2. Introduce work-dir. Now all intermediate files generated during 
     LTO phases will be saved under work-dir. User can specify the workdir
     via -lto-workdir=/path/to/dir. By default the work-dir will be 
     erased before linker exit. To keep the workdir, do -lto-keep, or -lto-keep=1.

    TODO: Erase the workdir, if the linker exit prematurely.  
      We are currently not able to remove directory on signal. The support 
      routines simply ignore directory.

  3. Add one new API lto_codegen_get_files_need_remove().
     Linker and LTO plugin will communicate via this API about which files
    (including directories) need to removed before linker exit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188188 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-12 18:29:43 +00:00
..
CMakeLists.txt Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
lto.cpp Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
lto.exports Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTOCodeGenerator.cpp Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTOCodeGenerator.h Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTODisassembler.cpp
LTOModule.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00
LTOModule.h Split getOpenFile into getOpenFile and getOpenFileSlice. 2013-07-23 20:25:01 +00:00
LTOPartition.cpp Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTOPartition.h Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTOPostIPODriver.cpp Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
LTOPostIPODriver.h Misc enhancements to LTO: 2013-08-12 18:29:43 +00:00
Makefile Use @rpath for libraries rather than @executable_path on OSX. 2013-08-02 01:51:52 +00:00