llvm/include/llvm-c
Manman Ren bd26e6a006 [LTO API] add lto_codegen_set_module to set the destination module.
When debugging LTO issues with ld64, we use -save-temps to save the merged
optimized bitcode file, then invoke ld64 again on the single bitcode file to
speed up debugging code generation passes and ld64 stuff after code generation.

llvm linking a single bitcode file via lto_codegen_add_module will generate a
different bitcode file from the single input. With the newly-added
lto_codegen_set_module, we can make sure the destination module is the same as
the input.

lto_codegen_set_module will transfer the ownship of the module to code
generator.

rdar://19024554


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230290 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-24 00:45:56 +00:00
..
Transforms [BDCE] Add a bit-tracking DCE pass 2015-02-17 01:36:59 +00:00
Analysis.h
BitReader.h
BitWriter.h Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
Core.h IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Disassembler.h Extend C disassembler API to allow specifying target features 2014-09-30 16:31:40 +00:00
ExecutionEngine.h [C API] Expose LLVMGetGlobalValueAddress and LLVMGetFunctionAddress. 2014-12-22 18:53:11 +00:00
Initialization.h
IRReader.h
Linker.h Finish removing DestroySource. 2014-12-23 19:16:45 +00:00
LinkTimeOptimizer.h
lto.h [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
module.modulemap
Object.h
Support.h Introduce LLVMParseCommandLineOptions C API function. 2014-10-16 22:47:52 +00:00
Target.h
TargetMachine.h