summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Linker.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-12-23 19:16:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-12-23 19:16:45 +0000
commitc6c58d5e71318e7f336f6dda4c449f7f505fb26f (patch)
tree802a6d6024c8a56892e02a454f79975289e1f7a3 /llvm/include/llvm-c/Linker.h
parentee24e14bdcedbbd6d997780404b170e920bf7c42 (diff)
downloadbcm5719-llvm-c6c58d5e71318e7f336f6dda4c449f7f505fb26f.tar.gz
bcm5719-llvm-c6c58d5e71318e7f336f6dda4c449f7f505fb26f.zip
Finish removing DestroySource.
Fixes pr21901. llvm-svn: 224782
Diffstat (limited to 'llvm/include/llvm-c/Linker.h')
-rw-r--r--llvm/include/llvm-c/Linker.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/include/llvm-c/Linker.h b/llvm/include/llvm-c/Linker.h
index 9f337cfba47..cedde5ea8e3 100644
--- a/llvm/include/llvm-c/Linker.h
+++ b/llvm/include/llvm-c/Linker.h
@@ -20,20 +20,13 @@
extern "C" {
#endif
-
-typedef enum {
- LLVMLinkerDestroySource = 0, /* Allow source module to be destroyed. */
- LLVMLinkerPreserveSource = 1 /* Preserve the source module. */
-} LLVMLinkerMode;
-
-
/* Links the source module into the destination module, taking ownership
* of the source module away from the caller. Optionally returns a
* human-readable description of any errors that occurred in linking.
* OutMessage must be disposed with LLVMDisposeMessage. The return value
* is true if an error occurred, false otherwise. */
LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
- LLVMLinkerMode Mode, char **OutMessage);
+ unsigned Unused, char **OutMessage);
#ifdef __cplusplus
}
OpenPOWER on IntegriCloud