mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
A bit more debugging printf's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
376dd212f9
commit
7f7fdcca8f
@ -458,6 +458,11 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
||||
GCCArgs.push_back(0); // NULL terminator
|
||||
|
||||
std::cout << "<gcc>" << std::flush;
|
||||
DEBUG(std::cerr << "\nAbout to run:\t";
|
||||
for (unsigned i=0, e = GCCArgs.size()-1; i != e; ++i)
|
||||
std::cerr << " " << GCCArgs[i];
|
||||
std::cerr << "\n";
|
||||
);
|
||||
if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
|
||||
sys::Path())) {
|
||||
ProcessFailure(GCCPath, &GCCArgs[0]);
|
||||
@ -545,6 +550,11 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
|
||||
|
||||
|
||||
std::cout << "<gcc>" << std::flush;
|
||||
DEBUG(std::cerr << "\nAbout to run:\t";
|
||||
for (unsigned i=0, e = GCCArgs.size()-1; i != e; ++i)
|
||||
std::cerr << " " << GCCArgs[i];
|
||||
std::cerr << "\n";
|
||||
);
|
||||
if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
|
||||
sys::Path())) {
|
||||
ProcessFailure(GCCPath, &GCCArgs[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user