This is an archive of the discontinued LLVM Phabricator instance.

[clang] Fix armv7-quick build by hardcoding -triple=x86_64 in OOM test.
ClosedPublic

Authored by adamcz on Nov 10 2021, 10:20 AM.

Details

Summary

The test was added in 48bb5f4cbe8d5951c1153e469dc6713a122b7fa3 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.

Diff Detail

Event Timeline

adamcz created this revision.Nov 10 2021, 10:20 AM
adamcz requested review of this revision.Nov 10 2021, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2021, 10:20 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Nov 10 2021, 10:25 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.