[all-commits] [llvm/llvm-project] 9567b3: [asan] Switch initialization to "double-checked lo...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Tue Dec 12 13:57:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9567b33fa15e5349cb522a3b3e39abc300c7644c
https://github.com/llvm/llvm-project/commit/9567b33fa15e5349cb522a3b3e39abc300c7644c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M compiler-rt/lib/asan/asan_rtl.cpp
Log Message:
-----------
[asan] Switch initialization to "double-checked locking"
This allows to remove `asan_init_is_running` which likely had a data
race.
Simplifies https://github.com/llvm/llvm-project/pull/74086 and reduces a difference between platforms.
Reviewers: zacklj89, eugenis, dvyukov
Reviewed By: zacklj89, dvyukov
Pull Request: https://github.com/llvm/llvm-project/pull/74387
More information about the All-commits
mailing list