[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:31:30 PST 2024


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

Why these new `#if`s here (same for the others below)? So far, these tests pass fine on both i686 and x86_64, see e.g. https://github.com/mstorsjo/llvm-mingw/actions/runs/11883858793/job/33120364287.

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


More information about the llvm-commits mailing list