This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Also error on -G for link-only step
ClosedPublic

Authored by Xiangling_L on Oct 23 2020, 11:06 AM.

Details

Summary

The change in [[ https://reviews.llvm.org/D89897 | [AIX] Emit error for -G option on AIX ]] didn't issue an error for link-only steps. The patch fixes that problem and also update related testcases.

Diff Detail

Event Timeline

Xiangling_L created this revision.Oct 23 2020, 11:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 23 2020, 11:06 AM
Xiangling_L requested review of this revision.Oct 23 2020, 11:06 AM
clang/test/Driver/aix-err-options.c
16–25

Replace duplicate compile-to-IR step with preprocess-only step.

Fixed the duplication in the testcase;

This revision is now accepted and ready to land.Oct 26 2020, 10:48 AM
This revision was automatically updated to reflect the committed changes.