LTO API: add lto_module_create_from_memory_with_path.

Press ? to show keyboard shortcuts.
Committed
mrenFeb 10 2014, 3:26 PM
Parents
rL201113: Mark the methods in the Mangler const.
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

LTO API: add lto_module_create_from_memory_with_path.

This function adds an extra path argument to lto_module_create_from_memory.
The path argument will be passed to makeBuffer to make sure the MemoryBuffer
has a name and the created module has a module identifier.

This is mainly for emitting warning messages from the linker. When we emit
warning message on a module, we can use the module identifier.

rdar://15985737

rL201114

llvm/trunk/include/llvm-c/lto.h

Loading...

llvm/trunk/include/llvm/LTO/LTOModule.h

Loading...

llvm/trunk/lib/LTO/LTOModule.cpp

Loading...

llvm/trunk/tools/lto/lto.cpp

Loading...

llvm/trunk/tools/lto/lto.exports

Loading...

Add Comment