From 092c5774793eeffb5f80b59707dd401a9bdab427 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 17 Dec 2024 16:17:15 +0800 Subject: [PATCH] unwind: silence op precedence warn --- src/llvm_libunwind/src/UnwindCursor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llvm_libunwind/src/UnwindCursor.hpp b/src/llvm_libunwind/src/UnwindCursor.hpp index b4d44e1..3e1d4d4 100644 --- a/src/llvm_libunwind/src/UnwindCursor.hpp +++ b/src/llvm_libunwind/src/UnwindCursor.hpp @@ -1434,7 +1434,7 @@ bool UnwindCursor::getInfoFromEHABISection( _info.unwind_info = exceptionTableAddr; _info.lsda = lsda; // flags is pr_cache.additional. See EHABI #7.2 for definition of bit 0. - _info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0; // Use enum? + _info.flags = isSingleWordEHT ? 1 : (0 | scope32) ? 0x2 : 0; // Use enum? return true; }