mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fix bugpoint to run -llc-safe with -Xlinker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9613e871d2
commit
497391ad8d
@ -260,7 +260,7 @@ std::string BugDriver::executeProgram(std::string OutputFile,
|
||||
// as the GCCArgs.
|
||||
int RetVal = 0;
|
||||
if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
|
||||
InterpreterSel == CBE_bug)
|
||||
InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
|
||||
RetVal = AI->ExecuteProgram(BytecodeFile, InputArgv, InputFile,
|
||||
OutputFile, AdditionalLinkerArgs, SharedObjs,
|
||||
Timeout, MemoryLimit);
|
||||
|
@ -555,6 +555,8 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
|
||||
GCCArgs.push_back(fileType == AsmFile ? "assembler" : "c");
|
||||
GCCArgs.push_back("-fno-strict-aliasing");
|
||||
GCCArgs.push_back(InputFile.c_str()); // Specify the input filename.
|
||||
GCCArgs.push_back("-x");
|
||||
GCCArgs.push_back("none");
|
||||
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
|
||||
GCCArgs.push_back("-G"); // Compile a shared library, `-G' for Sparc
|
||||
#elif defined(__APPLE__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user