[compiler-rt] [rtsan] Only print out unique stack traces (PR #110028)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 12:20:06 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);
----------------
cjappl wrote:
It is unclear to me the pros/cons of requesting fast stack unwinding is, let me know if this is wrong.
My only gut feeling is "fast is good", but that's where my knowledge stops
https://github.com/llvm/llvm-project/pull/110028
More information about the llvm-commits
mailing list