mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Allow a user of libLTO to specify the full pathname of the gcc executable to
run when assembling. Wire this up to the gold plugin. You can now pass --plugin-opt gcc=/foo/bar/gcc and it will run that gcc instead of looking for it on the path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,6 +36,7 @@ public:
|
||||
bool addModule(class LTOModule*, std::string& errMsg);
|
||||
bool setDebugInfo(lto_debug_model, std::string& errMsg);
|
||||
bool setCodePICModel(lto_codegen_model, std::string& errMsg);
|
||||
void setGccPath(const char* path);
|
||||
void addMustPreserveSymbol(const char* sym);
|
||||
bool writeMergedModules(const char* path,
|
||||
std::string& errMsg);
|
||||
@@ -59,6 +60,7 @@ private:
|
||||
StringSet _mustPreserveSymbols;
|
||||
llvm::MemoryBuffer* _nativeObjectFile;
|
||||
std::vector<const char*> _codegenOptions;
|
||||
llvm::sys::Path* _gccPath;
|
||||
};
|
||||
|
||||
#endif // LTO_CODE_GENERATOR_H
|
||||
|
Reference in New Issue
Block a user