This is an archive of the discontinued LLVM Phabricator instance.

Add support to -Wa,-W in clang
ClosedPublic

Authored by jcai19 on Oct 11 2019, 1:11 PM.

Details

Summary

Currently clang does not support -Wa,-W, which suppresses warning
messages in GNU assembler. Add this option for gcc compatibility.
https://bugs.llvm.org/show_bug.cgi?id=43651

Diff Detail

Event Timeline

jcai19 created this revision.Oct 11 2019, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2019, 1:11 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jcai19 updated this revision to Diff 224663.Oct 11 2019, 1:14 PM

Fix typos.

Harbormaster completed remote builds in B39449: Diff 224663.
jcai19 updated this revision to Diff 224664.Oct 11 2019, 1:16 PM

Update test cases.

nickdesaulniers edited the summary of this revision. (Show Details)Oct 11 2019, 1:24 PM
bcain accepted this revision.Oct 14 2019, 11:46 AM

LGTM

This revision is now accepted and ready to land.Oct 14 2019, 11:46 AM
jcai19 updated this revision to Diff 224908.Oct 14 2019, 2:27 PM

For autogenerated comment log.

This revision was automatically updated to reflect the committed changes.
MaskRay added inline comments.
clang/test/Driver/as-w-option.c
1

Reusing the existing as-no-warnings.c may be better. I've moved the UN lines there.