[PATCH] clang-check should ignore -no-integrated-as because certain drivers can't handle it

Simon Atanasyan simon at atanasyan.com
Tue Dec 10 03:28:29 PST 2013


On Tue, Dec 10, 2013 at 2:59 PM, Artyom Skrobov <Artyom.Skrobov at arm.com> wrote:
>> Do we know why Clang::Tooling/multi-jobs.cpp has '--no-integrated-as'
>> in the first place?
>
> No, but it's been there since the beginning (r156478).
> I'm copying Simon Atanasyan and Manuel Klimek who created/reviewed the
> original test, and may be able to shed some light on the purpose of
> --no-integrated-as there.

This test checks ClangSyntaxOnlyAdjuster. If we pass -no-integrated-as
option to the clang, it starts two jobs. The first one produces
assembler file. The second one runs external assembler to generate an
object file. The goal of the ClangSyntaxOnlyAdjuster is to add
-fsyntax-only option to the command line. With that option clang
changes behaviour and does not start external assembler.

-- 
Simon



More information about the cfe-commits mailing list