[all-commits] [llvm/llvm-project] 5acdfb: tsan: remove unused pc arguments
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Jul 28 11:08:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5acdfb7eda96dd3931803897476eeeb97eb943cb
https://github.com/llvm/llvm-project/commit/5acdfb7eda96dd3931803897476eeeb97eb943cb
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-07-28 (Wed, 28 Jul 2021)
Changed paths:
M compiler-rt/lib/tsan/go/tsan_go.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors.h
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface_inl.h
M compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl.h
M compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
Log Message:
-----------
tsan: remove unused pc arguments
Remove pc argument of ThreadIgnoreEnd, ThreadIgnoreSyncEnd
and AcquireGlobal functions. It's unused and in some places
we don't even have a pc and pass 0 anyway.
Don't confuse readers and don't pretend that pc is needed
and that passing 0 is somehow deficient.
Use simpler convention for ThreadIgnoreBegin and ThreadIgnoreSyncBegin:
accept only pc instread of pc+save_stack. 0 pc means "don't save stack".
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D106973
More information about the All-commits
mailing list