@@ -47,8 +47,8 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
4747 '-v' : (0 , ArgumentListFilter .compileOnlyCallback ),
4848
4949 #warnings (apart from the regex below)
50- '-w' : (0 , ArgumentListFilter .compileOnlyCallback ),
51- '-W' : (0 , ArgumentListFilter .compileOnlyCallback ),
50+ '-w' : (0 , ArgumentListFilter .compileUnaryCallback ),
51+ '-W' : (0 , ArgumentListFilter .compileUnaryCallback ),
5252
5353
5454 #iam: if this happens, then we need to stop and think.
@@ -317,8 +317,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
317317
318318 #iam: parse the cmd line, bailing if we discover that there will be no second phase.
319319 while (self ._inputArgs and
320- not (self .isAssembly or
321- self .isAssembleOnly or
320+ not (self .isAssembleOnly or
322321 self .isPreprocessOnly )):
323322 # Get the next argument
324323 currentItem = self ._inputArgs .popleft ()
@@ -516,3 +515,11 @@ def dump(self):
516515 efn (f'\n srcFile: { srcFile } \n ' )
517516 (objFile , bcFile ) = self .getArtifactNames (srcFile )
518517 efn (f'\n { srcFile } ===> ({ objFile } , { bcFile } )\n ' )
518+ efn (f'\n Flags:\n isVerbose = { self .isVerbose } \n ' )
519+ efn (f'isDependencyOnly = { self .isDependencyOnly } \n ' )
520+ efn (f'isPreprocessOnly = { self .isPreprocessOnly } \n ' )
521+ efn (f'isAssembleOnly = { self .isAssembleOnly } \n ' )
522+ efn (f'isAssembly = { self .isAssembly } \n ' )
523+ efn (f'isCompileOnly = { self .isCompileOnly } \n ' )
524+ efn (f'isEmitLLVM = { self .isEmitLLVM } \n ' )
525+ efn (f'isStandardIn = { self .isStandardIn } \n ' )
0 commit comments