<rdar://problem/6940611> libLTO.dylib needs to let linker specify path to assembler
authorNick Kledzik <kledzik@apple.com>
Thu, 4 Jun 2009 00:28:45 +0000 (00:28 +0000)
committerNick Kledzik <kledzik@apple.com>
Thu, 4 Jun 2009 00:28:45 +0000 (00:28 +0000)
commitcbad58624090933cb8fb85587e03be613a481309
tree4e1b1453bacb85aef8998892b242e71cec8cb694
parent186c670e15828327960d05a652ec43ae768c9b8e
<rdar://problem/6940611> libLTO.dylib needs to let linker specify path to assembler
Add lto_codegen_set_assembler_path() API which allows the linker to specify the
path to the assembler tool to run.  When assembler is used (instead of compiler)
different command line options are used.
Add LTO_API_VERSION #define so clients (linkers) can conditionalize use of new APIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72823 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/lto.h
tools/lto/LTOCodeGenerator.cpp
tools/lto/LTOCodeGenerator.h
tools/lto/lto.cpp
tools/lto/lto.exports