Skip to content

Commit 2f68e25

Browse files
committed
gllvm and wllvm agree when compiling the linux kernel.
1 parent 70d1fe2 commit 2f68e25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wllvm/arglistfilter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
9797
'-mretpoline-external-thunk': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
9898
'-mno-fp-ret-in-387': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
9999
'-mskip-rax-setup': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
100-
'-mindirect-branch-register': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
100+
'-mindirect-branch-register': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
101101
# Preprocessor assertion
102102
'-A' : (1, ArgumentListFilter.compileBinaryCallback),
103103
'-D' : (1, ArgumentListFilter.compileBinaryCallback),
@@ -261,9 +261,9 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
261261
r'^-mcmodel=.+$': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
262262
r'^-mpreferred-stack-boundary=.+$': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
263263
r'^-mindirect-branch=.+$': (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
264-
r'^-mregparm=.+$' : (0, ArgumentListFilter.compileLinkUnaryCallback), #iam: linux kernel stuff
265-
r'^-march=.+$' : (0, ArgumentListFilter.compileLinkUnaryCallback), #iam: linux kernel stuff
266-
r'^--param=.+$' : (0, ArgumentListFilter.compileLinkUnaryCallback), #iam: linux kernel stuff
264+
r'^-mregparm=.+$' : (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
265+
r'^-march=.+$' : (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
266+
r'^--param=.+$' : (0, ArgumentListFilter.compileUnaryCallback), #iam: linux kernel stuff
267267

268268

269269
#iam: mac stuff...

0 commit comments

Comments
 (0)