Skip to content

Commit 308c719

Browse files
committed
Less misleading yada yada.
1 parent 082dce3 commit 308c719

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

extract-bc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/usr/bin/env python
22
"""This tool can be used two ways.
33
4-
If the passed in file is a binary executable it will extract the
5-
bitcode section from the provided ELF or MACH-O object and reassemble
6-
it into an actual bitcode file. The ELF or MACH-Osection contains
4+
The ELF or MACH-O section contains
75
absolute paths to all of its constituent bitcode files. This utility
86
reads the section and links together all of the named bitcode files.
97
8+
If the passed in file is a binary executable it will extract the
9+
file paths in the bitcode section from the provided ELF or MACH-O object
10+
and assemble them into an actual bitcode file.
11+
1012
If the passed in file is a static library it will extract the
1113
constituent ELF or MACH-O objects and read their bitcode sections and
1214
create a LLVM Bitcode archive from the bitcode files.

0 commit comments

Comments
 (0)