================
@@ -47,6 +47,7 @@ bool PointerAuthCFIAnalyzer::runOnFunction(BinaryFunction
&BF) {
// Not all functions have .cfi_negate_ra_state in them. But if one
does,
// we expect psign/pauth instructions to have the hasNegateRAState
// annotation.
+ std::lock_guard<std::mutex> Lock(IgnoreMutex);
----------------
peterwaller-arm wrote:
Consistency nit: the other uses of this put the lock/ignore below the log
message and next to the return.
https://github.com/llvm/llvm-project/pull/165365
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits