================
@@ -236,8 +237,13 @@ static void PrintStackAllocations(const
StackAllocationsRingBuffer *sa,
Printf("\nPotentially referenced stack objects:\n");
found_local = true;
}
- Printf(" %s in %s %s:%d\n", local.name, local.function_name,
- local.decl_file, local.decl_line);
+ StackTracePrinter::GetOrInit()->RenderSourceLocation(
+ &location, local.decl_file, local.decl_line, 0,
----------------
fmayer wrote:
nit: /* column= */ 0
other nit: how hard is it to add a test for this?
https://github.com/llvm/llvm-project/pull/76132
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits