This is an archive of the discontinued LLVM Phabricator instance.

[clang-repl] Disable all tests on unsupported platforms
AbandonedPublic

Authored by junaire on May 19 2023, 12:30 AM.

Details

Reviewers
v.g.vassilev
Summary

After https://reviews.llvm.org/D141215 we called Interpreter::ParseAndExecute in Interpreter::create so we need to disable all tests on platforms that don't have good JIT support.

This should fixes https://lab.llvm.org/buildbot/#/builders/38/builds/11955
Signed-off-by: Jun Zhang <jun@junz.org>

Diff Detail

Event Timeline

junaire created this revision.May 19 2023, 12:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2023, 12:30 AM
junaire requested review of this revision.May 19 2023, 12:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2023, 12:30 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
junaire edited the summary of this revision. (Show Details)May 19 2023, 12:33 AM

I would support this change but instead of asking the JIT we should just add -fsyntax-only to these invocations as they do not rely on the JIT at all.

clang/test/Interpreter/incremental-mode.cpp
3 ↗(On Diff #523697)

This test does not run anything, so this should be supported. Perhaps we could add -fsyntax-only mode to the RUN lines above.

clang/unittests/Interpreter/IncrementalProcessingTest.cpp
74

Likewise, here -fsyntax-only mode should be enough since we do not execute anything.

junaire abandoned this revision.May 23 2023, 3:06 AM

This isn't an ideal solution after an off-list discussion.