std::filesystem::path output_dep;
// The path to the stack usage (implicit when using -fstack-usage).
- std::string output_su;
+ std::filesystem::path output_su;
// The path to the callgraph info (implicit when using -fcallgraph-info).
std::string output_ci;
if (args_info.generating_stackusage) {
fs::path default_sufile_name =
util::with_extension(args_info.output_obj, ".su");
- args_info.output_su =
- util::pstr(core::make_relative_path(ctx, default_sufile_name));
+ args_info.output_su = core::make_relative_path(ctx, default_sufile_name);
}
if (args_info.generating_callgraphinfo) {