@@ -47,8 +47,8 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
47
47
'-v' : (0 , ArgumentListFilter .compileOnlyCallback ),
48
48
49
49
#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 ),
52
52
53
53
54
54
#iam: if this happens, then we need to stop and think.
@@ -317,8 +317,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
317
317
318
318
#iam: parse the cmd line, bailing if we discover that there will be no second phase.
319
319
while (self ._inputArgs and
320
- not (self .isAssembly or
321
- self .isAssembleOnly or
320
+ not (self .isAssembleOnly or
322
321
self .isPreprocessOnly )):
323
322
# Get the next argument
324
323
currentItem = self ._inputArgs .popleft ()
@@ -516,3 +515,11 @@ def dump(self):
516
515
efn (f'\n srcFile: { srcFile } \n ' )
517
516
(objFile , bcFile ) = self .getArtifactNames (srcFile )
518
517
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