Skip to content

Commit e637204

Browse files
committed
2 parents e75ef9b + 6d55d1c commit e637204

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

driver/popenwrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ def Popen(*pargs, **kwargs):
1414
try:
1515
return subprocess.Popen(*pargs,**kwargs)
1616
except OSError:
17-
_logger.error("WWLVM Failed to execute:\n" + pprint.pformat(pargs[0]))
17+
_logger.error("WLLVM Failed to execute:\n" + pprint.pformat(pargs[0]))
1818
raise

driver/utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
223223
#
224224
# Patterns for other command-line arguments:
225225
# - inputFiles
226-
# - objecFiles (suffix .o)
226+
# - objectFiles (suffix .o)
227227
# - libraries + linker options as in -lxxx -Lpath or -Wl,xxxx
228228
# - preprocessor options as in -DXXX -Ipath
229229
# - compiler warning options: -W....
@@ -233,7 +233,10 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
233233
r'^.+\.(c|cc|cpp|C|cxx|i|s|S)$' : (0, ArgumentListFilter.inputFileCallback),
234234
#iam: the object file recogition is not really very robust, object files
235235
# should be determined by their existance and contents...
236-
r'^.+\.(o|lo|So|so|po|a)$' : (0, ArgumentListFilter.objectFileCallback),
236+
r'^.+\.(o|lo|So|so|po|a|dylib)$' : (0, ArgumentListFilter.objectFileCallback),
237+
#iam: library.so.4.5.6 probably need a similar pattern for .dylib too.
238+
r'^.+\.dylib(\.\d)+$' : (0, ArgumentListFilter.objectFileCallback),
239+
r'^.+\.(So|so)(\.\d)+$' : (0, ArgumentListFilter.objectFileCallback),
237240
r'^-(l|L).+$' : (0, ArgumentListFilter.linkUnaryCallback),
238241
r'^-I.+$' : (0, ArgumentListFilter.compileUnaryCallback),
239242
r'^-D.+$' : (0, ArgumentListFilter.compileUnaryCallback),

0 commit comments

Comments
 (0)