mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Target::dump: use toString
This commit is contained in:
@@ -110,16 +110,7 @@ public:
|
||||
template<typename OStream>
|
||||
void dump(OStream &OS, size_t Indentation = 0) const debug_function {
|
||||
indent(OS, Indentation);
|
||||
OS << '/';
|
||||
|
||||
const auto ComponentToString = [](const std::string &Component) {
|
||||
return Component;
|
||||
};
|
||||
|
||||
auto Path = llvm::join(llvm::map_range(Components, ComponentToString), "/");
|
||||
OS << Path;
|
||||
OS << ':' << K->name().str();
|
||||
OS << '\n';
|
||||
OS << toString() << '\n';
|
||||
}
|
||||
|
||||
template<typename OStream>
|
||||
|
||||
@@ -12,5 +12,5 @@ revng_add_analyses_library_internal(
|
||||
RemoveHelperCalls.cpp
|
||||
ShrinkInstructionOperandsPass.cpp)
|
||||
|
||||
target_link_libraries(revngBasicAnalyses revngModel revngSupport
|
||||
target_link_libraries(revngBasicAnalyses revngModel revngSupport revngPipeline
|
||||
${LLVM_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user