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

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 06:48:27 PST 2024


Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>,
Bernhard =?utf-8?q?=C3=9Cbelacker?= <bernhardu at mailbox.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/113085 at github.com>


================
@@ -793,6 +799,294 @@ TEST(Interception, EmptyExportTable) {
   EXPECT_EQ(0U, FunPtr);
 }
 
+TEST(Interception, GetInstructionSize) {
+
+  struct {
+    SIZE_T size;
----------------
zmodem wrote:

size_t is probably fine in this file?

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


More information about the llvm-commits mailing list