File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
"""This tool can be used two ways.
3
3
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
7
5
absolute paths to all of its constituent bitcode files. This utility
8
6
reads the section and links together all of the named bitcode files.
9
7
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
+
10
12
If the passed in file is a static library it will extract the
11
13
constituent ELF or MACH-O objects and read their bitcode sections and
12
14
create a LLVM Bitcode archive from the bitcode files.
You can’t perform that action at this time.
0 commit comments