Skip to content

Commit 21648d3

Browse files
committed
[compiler-rt] [TSan] leave BufferedStackTrace uninit
Otherwise we have to memset 2040 bytes (255 * 8) for each call Pull Request: #102255
1 parent 76248da commit 21648d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/tsan/dd/dd_rtl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace __dsan {
1919
static Context *ctx;
2020

2121
static u32 CurrentStackTrace(Thread *thr, uptr skip) {
22-
BufferedStackTrace stack;
22+
UNINITIALIZED BufferedStackTrace stack;
2323
thr->ignore_interceptors = true;
2424
stack.Unwind(1000, 0, 0, 0, 0, 0, false);
2525
thr->ignore_interceptors = false;

0 commit comments

Comments
 (0)