diff options
-rw-r--r-- | include/llvm/Linker.h | 19 | ||||
-rw-r--r-- | include/llvm/Support/Linker.h | 19 | ||||
-rw-r--r-- | include/llvm/Transforms/Utils/Linker.h | 19 |
3 files changed, 6 insertions, 51 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Linker.h +++ b/include/llvm/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + diff --git a/include/llvm/Support/Linker.h b/include/llvm/Support/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Support/Linker.h +++ b/include/llvm/Support/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + diff --git a/include/llvm/Transforms/Utils/Linker.h b/include/llvm/Transforms/Utils/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Transforms/Utils/Linker.h +++ b/include/llvm/Transforms/Utils/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + |