mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
The second arg may be clobbered by this function
llvm-svn: 17880
This commit is contained in:
parent
7a2de9f653
commit
be4c91f75f
@ -848,7 +848,7 @@ static bool LinkAppendingVars(Module *M,
|
||||
// error occurs, true is returned and ErrorMsg (if not null) is set to indicate
|
||||
// the problem. Upon failure, the Dest module could be in a modified state, and
|
||||
// shouldn't be relied on to be consistent.
|
||||
bool llvm::LinkModules(Module *Dest, const Module *Src, std::string *ErrorMsg) {
|
||||
bool llvm::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
|
||||
assert(Dest != 0 && "Invalid Destination module");
|
||||
assert(Src != 0 && "Invalid Source Module");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user