Skip to content

Commit 581a6a8

Browse files
committed
[clang] Fix armv7-quick build by hardcoding -triple=x86_64 in OOM test.
The test was added in 48bb5f4 and it creates a very large array, which is too large for ARM. Making the array smaller is not a good option, since we would need a very low ulimit and could then hit it for other reasons. Should fix the https://lab.llvm.org/buildbot/#/builders/171/builds/5851 failure. Differential Revision: https://reviews.llvm.org/D113583
1 parent 4001fea commit 581a6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: shell
22
// UNSUPPORTED: win32
33
// RUN: ulimit -v 1048576
4-
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
4+
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -triple=x86_64 %s
55
// expected-no-diagnostics
66

77
// This used to require too much memory and crash with OOM.

0 commit comments

Comments
 (0)