LTO API: add lto_module_create_from_memory_with_path.

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

Details

Committed
mrenFeb 10 2014, 3:26 PM
Parents
rL201113: Mark the methods in the Mangler const.
Branches
Unknown
Tags
Unknown