Skip to content
  • Manman Ren's avatar
    LTO API: add lto_module_create_from_memory_with_path. · 03456a17
    Manman Ren authored
    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
    03456a17
Loading