mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
If bugpoint can't match the reference output, at LEAST provide the output
we can get. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdc9784613
commit
5110bed0a0
@ -349,9 +349,13 @@ static void DisambiguateGlobalSymbols(Module *M) {
|
||||
|
||||
bool BugDriver::debugCodeGenerator() {
|
||||
if ((void*)cbe == (void*)Interpreter) {
|
||||
std::cout << "*** The C backend cannot match the reference diff, but it is "
|
||||
<< "used as the 'known good'\n code generator, so I can't deb"
|
||||
<< "ug it. Perhaps you have a front-end problem?\n";
|
||||
std::string Result = executeProgramWithCBE("bugpoint.cbe.out");
|
||||
std::cout << "\n*** The C backend cannot match the reference diff, but it "
|
||||
<< "is used as the 'known good'\n code generator, so I can't"
|
||||
<< " debug it. Perhaps you have a front-end problem?\n As a"
|
||||
<< " sanity check, I left the result of executing the program "
|
||||
<< "with the C backend\n in this file for you: '"
|
||||
<< Result << "'.\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user