[compiler-rt] [rtsan] Only print out unique stack traces (PR #110028)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 12:34:39 PDT 2024
================
@@ -49,7 +50,21 @@ static auto OnViolationAction(DiagnosticsInfo info) {
return [info]() {
IncrementTotalErrorCount();
- PrintDiagnostics(info);
+ BufferedStackTrace stack;
+ stack.Unwind(info.pc, info.bp, nullptr,
+ /*request_fast*/ true);
----------------
fmayer wrote:
fast means frame pointer unwinding
https://github.com/llvm/llvm-project/pull/110028
More information about the llvm-commits
mailing list