Skip to content

Commit 2e0bd3b

Browse files
committed
Missing support for ELF_OBJECT in extract-bc
1 parent ebe6f10 commit 2e0bd3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract-bc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def process_file_unix(inputFile, outputFile, llvmLinker, llvmArchiver):
344344
arCmd = ['ar', 'xv'] if verboseFlag else ['ar', 'x']
345345
ofileType = FileType.ELF_OBJECT
346346

347-
if ft == FileType.ELF_EXECUTABLE or ft == FileType.ELF_SHARED:
347+
if ft == FileType.ELF_EXECUTABLE or ft == FileType.ELF_SHARED or ft == FileType.ELF_OBJECT:
348348
logging.info('Generating LLVM Bitcode module')
349349
return handleExecutable(inputFile, outputFile, extractor, llvmLinker)
350350
elif ft == FileType.ARCHIVE:

0 commit comments

Comments
 (0)