[PATCH] D25037: [compiler-rt][asan] Disable a broken test on windows 64-bits

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 07:40:41 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL282860: [compiler-rt][asan] Disable a broken test on windows 64-bits (authored by etienneb).

Changed prior to commit:
  https://reviews.llvm.org/D25037?vs=72874&id=73051#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D25037

Files:
  compiler-rt/trunk/test/asan/TestCases/Windows/dll_intercept_memchr.cc


Index: compiler-rt/trunk/test/asan/TestCases/Windows/dll_intercept_memchr.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_intercept_memchr.cc
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_intercept_memchr.cc
@@ -2,6 +2,12 @@
 // RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
 // RUN: not %run %t %t.dll 2>&1 | FileCheck %s
 
+// On windows 64-bit, the memchr function is written in assembly and is not
+// hookable with the interception library. There is not enough padding before
+// the function and there is a short jump on the second instruction which
+// doesn't not allow enough space to encode a 64-bit indirect jump.
+// UNSUPPORTED: x86_64-windows
+
 #include <string.h>
 
 extern "C" __declspec(dllexport)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25037.73051.patch
Type: text/x-patch
Size: 796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160930/9407c2d3/attachment.bin>


More information about the llvm-commits mailing list