mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-05-13 10:36:07 +00:00
These strings aren't 'const char *' but 'char *'.
llvm-svn: 153805
This commit is contained in:
parent
8e34c4eea6
commit
3ca3830022
@ -80,7 +80,7 @@ LTOCodeGenerator::~LTOCodeGenerator() {
|
|||||||
delete _target;
|
delete _target;
|
||||||
delete _nativeObjectFile;
|
delete _nativeObjectFile;
|
||||||
|
|
||||||
for (std::vector<const char*>::iterator I = _codegenOptions.begin(),
|
for (std::vector<char*>::iterator I = _codegenOptions.begin(),
|
||||||
E = _codegenOptions.end(); I != E; ++I)
|
E = _codegenOptions.end(); I != E; ++I)
|
||||||
free(*I);
|
free(*I);
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ private:
|
|||||||
StringSet _mustPreserveSymbols;
|
StringSet _mustPreserveSymbols;
|
||||||
StringSet _asmUndefinedRefs;
|
StringSet _asmUndefinedRefs;
|
||||||
llvm::MemoryBuffer* _nativeObjectFile;
|
llvm::MemoryBuffer* _nativeObjectFile;
|
||||||
std::vector<const char*> _codegenOptions;
|
std::vector<char*> _codegenOptions;
|
||||||
std::string _mCpu;
|
std::string _mCpu;
|
||||||
std::string _nativeObjectPath;
|
std::string _nativeObjectPath;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user