Skip to content

Commit e65308d

Browse files
author
Tristan Ravitch
committed
Also attach bitcode to .lo files
This is just another extension for object files
1 parent 040a8ca commit e65308d

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
@@ -178,7 +178,7 @@ def attachBitcodePathToObject(bcPath, outFileName):
178178
# Don't try to attach a bitcode path to a binary. Unfortunately
179179
# that won't work.
180180
(root, ext) = os.path.splitext(outFileName)
181-
if ext != ".o":
181+
if ext != ".o" and ext != '.lo':
182182
return
183183

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

0 commit comments

Comments
 (0)