Restore LLVMLinkModules C API until it is properly deprecated.
authorJuergen Ributzka <juergen@apple.com>
Mon, 2 Mar 2015 18:59:38 +0000 (18:59 +0000)
committerJuergen Ributzka <juergen@apple.com>
Mon, 2 Mar 2015 18:59:38 +0000 (18:59 +0000)
commit0a5c3015f8335e2c074074892c0a1e8395b68651
tree15022f75cc3a4cf057ba03da7dfc421218ce207b
parente8676a29bb653bdbc4c9db37d2dbdab2a687c175
Restore LLVMLinkModules C API until it is properly deprecated.

Add the enum "LLVMLinkerMode" back for backwards-compatibility and add the
linker mode parameter back to the "LLVMLinkModules" function. The paramter is
ignored and has no effect.

Patch provided by: Filip Pizlo
Reviewed by: Rafael and Sean

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230988 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/linker.go
include/llvm-c/Linker.h
lib/Linker/LinkModules.cpp