Go to file
Shuxin Yang 388b52c0ce Revert 189297, the original commit message is following.
----
  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.

llvm-svn: 189386
2013-08-27 17:15:54 +00:00
clang scan-build: Set CC and CXX as make variables when wrapping make builds. 2013-08-27 16:59:33 +00:00
clang-tools-extra cpp11-migrate: Add Pass-By-Value Transform 2013-08-27 16:11:26 +00:00
compiler-rt Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Add mul_hi implementation [v2] 2013-08-19 18:31:49 +00:00
libcxx Mark LWG issues 2190, 2200, and 2211 as done. No changes needed to libc++. 2013-08-27 15:47:05 +00:00
libcxxabi Propagate the removal of _LIBCPP_CANTTHROW (r189046) to libcxxabi. This fixes http://llvm.org/bugs/show_bug.cgi?id=16996. 2013-08-25 17:00:57 +00:00
lld [PECOFF] Add the entry symbol and /include symbols to dead strip root set. 2013-08-27 05:15:20 +00:00
lldb Use standard boolean operators. 2013-08-27 16:24:58 +00:00
llvm Revert 189297, the original commit message is following. 2013-08-27 17:15:54 +00:00
polly Remove unneeded comma and update formatting 2013-08-24 17:58:59 +00:00