This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] [test] Only pass -incremental:no to the linker for MSVC/clang-cl
ClosedPublic

Authored by mstorsjo on Apr 5 2023, 2:54 PM.

Details

Summary

The target_is_msvc variable in lit.cfg.py matches a similar pattern
used in the asan lit.cfg.py.

Diff Detail

Event Timeline

mstorsjo created this revision.Apr 5 2023, 2:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 2:54 PM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
mstorsjo requested review of this revision.Apr 5 2023, 2:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 2:54 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
phosek accepted this revision.Apr 5 2023, 7:27 PM

LGTM

compiler-rt/test/profile/lit.cfg.py
26–30

Since this is only used once, you could also consider inlining it, but either way is fine.

This revision is now accepted and ready to land.Apr 5 2023, 7:27 PM
mstorsjo added inline comments.Apr 6 2023, 1:05 AM
compiler-rt/test/profile/lit.cfg.py
26–30

Yeah - although I think I prefer keeping it separate, for similarity with the other files.