[compiler-rt] [win/asan] Support instructions in GetInstructionSize used by Wine. (PR #113085)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 01:56:12 PST 2024


================
@@ -230,6 +230,7 @@ const u8 kUnpatchableCode6[] = {
     0x90, 0x90, 0x90, 0x90,
 };
 
+#if SANITIZER_WINDOWS64
----------------
mstorsjo wrote:

Ah, I see that this gets rid of warnings like this: `warning: unused variable 'kUnpatchableCode7' [-Wunused-const-variable]`

That's probably fine, but it would distract less from the rest of this MR if it would be filed as a separate cleanup.

https://github.com/llvm/llvm-project/pull/113085


More information about the llvm-commits mailing list