llvm/tools
Shuxin Yang e3427a5815 Add new API lto_codegen_compile_parallel().
This API is proposed by Nick Kledzik. The semantic is:

  --------------------------------------------------------------------------
   Generate code for merged module into an array of native object files. On 
   success returns a pointer to an array of NativeObjectFile.  The count 
   parameter returns the number of elements in the array.  Each element is 
   a pointer/length for a generated mach-o/ELF buffer.  The buffer is owned
   by the lto_code_gen_t and will be freed when lto_codegen_dispose() is called, 
   or lto_codegen_compile() is called again. On failure, returns NULL 
   (check lto_get_error_message() for details).

   extern const struct  NativeObjectFile*
   lto_codegen_compile_parallel(lto_code_gen_t cg, size_t *count);
  ---------------------------------------------------------------------------

  This API is currently only called on OSX platform. Linux or other Unixes
using GNU gold are not supposed to call this function, because on these systems, 
object files are fed back to linker via disk file instead of memory buffer.

  In this commit, lto_codegen_compile_parallel() simply calls
lto_codegen_compile() to return a single object file. In the near future,
this function is the entry point for compilation with partition. Linker can
blindly call this function even if partition is turned off; in this case,
compiler will return only one object file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189297 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-27 00:03:23 +00:00
..
bugpoint [bugpoint] Allow the user to specify the path to opt on the commandline. 2013-08-05 21:07:07 +00:00
bugpoint-passes
gold Revert r188188 and r188200. 2013-08-12 21:07:31 +00:00
llc Use function attributes to indicate that we don't want to realign the stack. 2013-08-01 21:42:05 +00:00
lli lli/RecordingMemoryManager.cpp: Make it complain if _GLOBAL_OFFSET_TABLE_ were not provided. 2013-08-21 02:37:14 +00:00
llvm-ar Add support for the 's' operation to llvm-ar. 2013-07-29 12:40:31 +00:00
llvm-as Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-bcanalyzer keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-config CMake: build llvm-config on Windows. 2013-08-23 17:59:13 +00:00
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 Don't crash in 'llvm -s' when an archive has no symtab. 2013-07-10 20:14:22 +00:00
llvm-objdump Add basic YAML MC CFG testcase. 2013-08-21 16:13:25 +00:00
llvm-prof
llvm-readobj Remove byte order mark from source file. 2013-08-09 10:31:14 +00:00
llvm-rtdyld Unbreak llvm-rtdyld build. 2013-08-03 22:18:45 +00:00
llvm-shlib Use @rpath for libraries rather than @executable_path on OSX. 2013-08-02 01:51:52 +00:00
llvm-size
llvm-stress Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-symbolizer llvm-symbolizer: use real path when looking for debug binary location 2013-08-26 18:12:03 +00:00
lto Add new API lto_codegen_compile_parallel(). 2013-08-27 00:03:23 +00:00
macho-dump
obj2yaml
opt Remove logic that decides whether to vectorize or not depending on O-levels 2013-08-13 15:51:25 +00:00
yaml2obj [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
CMakeLists.txt CMake: build llvm-config on Windows. 2013-08-23 17:59:13 +00:00
LLVMBuild.txt
Makefile