[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 13:50:23 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);
+
+ StackDepotHandle handle = StackDepotPut_WithHandle(stack);
----------------
fmayer wrote:
if there is any chance for that interop in the future, please leave a comment in the code about this.
https://github.com/llvm/llvm-project/pull/110028
More information about the llvm-commits
mailing list