[all-commits] [llvm/llvm-project] a1dc97: tsan: remember and print function that installed a...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Thu Nov 25 23:01:07 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1dc97e47231e737e1252d1aeb159764dbaed977
https://github.com/llvm/llvm-project/commit/a1dc97e47231e737e1252d1aeb159764dbaed977
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/test/tsan/atexit4.cpp
M compiler-rt/test/tsan/atexit5.cpp
M compiler-rt/test/tsan/on_exit.cpp
Log Message:
-----------
tsan: remember and print function that installed at_exit callbacks
Sometimes stacks for at_exit callbacks don't include any of the user functions/files.
For example, a race with a global std container destructor will only contain
the container type name and our at_exit_wrapper function. No signs what global variable
this is.
Remember and include in reports the function that installed the at_exit callback.
This should give glues as to what variable is being destroyed.
Depends on D114606.
Reviewed By: vitalybuka, melver
Differential Revision: https://reviews.llvm.org/D114607
More information about the All-commits
mailing list