mirror of
https://github.com/verilator/verilator.git
synced 2026-08-30 17:51:59 +02:00
Continued... Show file and line info when possible on internal graph errors.
This commit is contained in:
@@ -256,6 +256,10 @@ void V3Graph::clearColors() {
|
||||
//======================================================================
|
||||
// Dumping
|
||||
|
||||
void V3Graph::loopsMessageCb(V3GraphVertex* vertexp) {
|
||||
vertexp->v3fatalSrc("Loops detected in graph: "<<vertexp);
|
||||
}
|
||||
|
||||
void V3Graph::loopsVertexCb(V3GraphVertex* vertexp) {
|
||||
// Needed here as V3GraphVertex<< isn't defined until later in header
|
||||
std::cerr<<"-Info-Loop: "<<(void*)(vertexp)<<" "<<vertexp<<endl;
|
||||
|
||||
Reference in New Issue
Block a user