[PATCH] D76073: [compiler-rt][tsan] Fix: Leak of ThreadSignalContext memory mapping when destroying fibers.
Wolfgang Pieb via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 18:58:22 PDT 2020
wolfgangp added inline comments.
================
Comment at: compiler-rt/test/tsan/fiber_cleanup.cpp:29
+ char proc_file_name[128];
+ snprintf(proc_file_name, 128, "/proc/%ld/maps", my_pid);
+
----------------
This caused a lint complaint about using a constant instead of sizeof(proc_file_name).
It was breaking some builds.
Fixed with [[ https://github.com/llvm/llvm-project/commit/93f7743851b7a01a8c8f54b3753b6e5cd5591e15 | this commit]].
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76073/new/
https://reviews.llvm.org/D76073
More information about the llvm-commits
mailing list