Skip to content

Commit e4bd86b

Browse files
committed
Merge pull request #1 from liblit/master
Recognize "*.os" files as object files.
2 parents 2af7a03 + 5dc8427 commit e4bd86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def attachBitcodePathToObject(bcPath, outFileName):
184184
# Don't try to attach a bitcode path to a binary. Unfortunately
185185
# that won't work.
186186
(root, ext) = os.path.splitext(outFileName)
187-
if ext != ".o" and ext != '.lo':
187+
if ext not in ('.o', '.lo', '.os'):
188188
return
189189

190190
# Now just build a temporary text file with the full path to the

0 commit comments

Comments
 (0)