Skip to content

Commit 550adc9

Browse files
committed
add a comment clarifying arch support in ill.cpp
With real MSVC this test only supports i386
1 parent ca4bac2 commit 550adc9

File tree

1 file changed

+2
-0
lines changed
  • compiler-rt/test/asan/TestCases

1 file changed

+2
-0
lines changed

compiler-rt/test/asan/TestCases/ill.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include <windows.h>
99
#endif
1010

11+
// note: test is limited to i386 only ("asan-32-bits") when using "real" MSVC
12+
// see the requires clause above
1113
#if defined(_MSC_VER) && !defined(__clang__)
1214
#define __builtin_trap() __asm ud2;
1315
#endif

0 commit comments

Comments
 (0)