This is an archive of the discontinued LLVM Phabricator instance.

[Driver][test] Don't assume integrated-as
ClosedPublic

Authored by jsji on May 17 2021, 12:35 PM.

Details

Summary

The tests of fdebug-compilation-dir and -ffile-compilation-dir for `-x
assembler` are assuming integrated-as.
If the platform set the no-itegrated-as by default (eg: AIX for now), then this test will
fail.

Add the -integrated-as to aviod relying on the platform defaults.

Diff Detail

Event Timeline

jsji requested review of this revision.May 17 2021, 12:35 PM
jsji created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2021, 12:35 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
thakis accepted this revision.May 17 2021, 12:49 PM

Are there any platforms left that don't default to integrated as? Which ones? Is there a tracking bug for switching them?

This revision is now accepted and ready to land.May 17 2021, 12:49 PM
jsji added a comment.EditedMay 17 2021, 12:53 PM

Are there any platforms left that don't default to integrated as? Which ones? Is there a tracking bug for switching them?

Thanks! Oh, I should have mentioned that in description, this is exposed on AIX testing.
AIX doesn't default to integrated as for now. There is no tracking bug externally yet, but we have internal tracking for switching.

jsji edited the summary of this revision. (Show Details)May 17 2021, 12:56 PM
This revision was automatically updated to reflect the committed changes.