mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Remove the GCC path from libLTO. This has been superceded by setAssemblerPath.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,7 +76,7 @@ LTOCodeGenerator::LTOCodeGenerator()
|
||||
_linker("LinkTimeOptimizer", "ld-temp.o", _context), _target(NULL),
|
||||
_emitDwarfDebugInfo(false), _scopeRestrictionsDone(false),
|
||||
_codeModel(LTO_CODEGEN_PIC_MODEL_DYNAMIC),
|
||||
_nativeObjectFile(NULL), _gccPath(NULL), _assemblerPath(NULL)
|
||||
_nativeObjectFile(NULL), _assemblerPath(NULL)
|
||||
{
|
||||
InitializeAllTargets();
|
||||
InitializeAllAsmPrinters();
|
||||
@@ -126,13 +126,6 @@ bool LTOCodeGenerator::setCodePICModel(lto_codegen_model model,
|
||||
return true;
|
||||
}
|
||||
|
||||
void LTOCodeGenerator::setGccPath(const char* path)
|
||||
{
|
||||
if ( _gccPath )
|
||||
delete _gccPath;
|
||||
_gccPath = new sys::Path(path);
|
||||
}
|
||||
|
||||
void LTOCodeGenerator::setAssemblerPath(const char* path)
|
||||
{
|
||||
if ( _assemblerPath )
|
||||
@@ -240,9 +233,6 @@ bool LTOCodeGenerator::assemble(const std::string& asmPath,
|
||||
if ( _assemblerPath ) {
|
||||
tool = *_assemblerPath;
|
||||
needsCompilerOptions = false;
|
||||
}
|
||||
else if ( _gccPath ) {
|
||||
tool = *_gccPath;
|
||||
} else {
|
||||
// find compiler driver
|
||||
tool = sys::Program::FindProgramByName("gcc");
|
||||
|
Reference in New Issue
Block a user