| commit | 03456a176dd8c83b050eb24986786a0dbae53bc9 | [log] [tgz] |
|---|---|---|
| author | Manman Ren <manman.ren@gmail.com> | Mon Feb 10 23:26:14 2014 +0000 |
| committer | Manman Ren <manman.ren@gmail.com> | Mon Feb 10 23:26:14 2014 +0000 |
| tree | 488c54b2a07aadcbd0b26ede1153ee622518e3da | |
| parent | efedd3aa1b8a295606bb5331ad50b2ce30159d16 [diff] |
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 llvm-svn: 201114