Skip to content

Commit

Permalink
Reference relevant tests in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ahueck committed Jan 27, 2025
1 parent c361d7b commit 0036900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/type/DIRootType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ std::optional<llvm::DIType*> find_type_root(const dataflow::CallValuePath& call_
LOG_DEBUG("Root is malloc-like call")
// TODO ask for type of newlike call here!
if (call_path.call && (call_inst == call_path.call.value())) {
// Test triggers by cpp/heap_lhs_function_opt_nofwd.cpp and ir/01_endless_recursion.ll
LOG_WARNING("Root value is the same as the initial malloc-like call")
return {};
}
Expand Down

0 comments on commit 0036900

Please sign in to comment.