Skip to content

Commit

Permalink
debugging CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbs96 committed Oct 24, 2024
1 parent 0cc3c7f commit 70cdc6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/PhasarLLVM/TypeHierarchy/DIBasedTypeHierarchy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ DIBasedTypeHierarchy::DIBasedTypeHierarchy(const LLVMProjectIRDB &IRDB) {
VertexTypes.push_back(Composite);
NameToType.try_emplace(getCompositeTypeName(Composite), Composite);

if (getCompositeTypeName(Composite).empty()) {
llvm::errs() << "ERROR: Composite Type is empty: " << *Composite
<< '\n';
llvm::errs().flush();
}

assert(!getCompositeTypeName(Composite).empty());
}
}
Expand Down

0 comments on commit 70cdc6b

Please sign in to comment.