mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
slightly more useful error message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ceeb17d8d8
commit
94a8d7785c
@ -183,8 +183,9 @@ void DSGC::verify(const DSGraph &G) {
|
||||
}
|
||||
|
||||
if (CheckFlagsM.count(Name) && CheckFlagsM[Name] != N->getNodeFlags()) {
|
||||
std::cerr << "Node flags are not as expected for node: " << Name
|
||||
<< "\n";
|
||||
std::cerr << "Node flags are not as expected for node: " << Name
|
||||
<< " (" << CheckFlagsM[Name] << ":" <<N->getNodeFlags()
|
||||
<< ")\n";
|
||||
N->print(std::cerr, &G);
|
||||
abort();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user