forked from OSchip/llvm-project
Update `llvm-readobj` command invocation in extract-section.py
Change `-elf-output-style` to `--elf-output-style` to reflect the recent changes on short/long CLI options in LLVM binary utils.
This commit is contained in:
parent
5894134c6e
commit
4c0d15f86f
|
@ -31,7 +31,7 @@ def read_raw_stdin():
|
|||
|
||||
def get_raw_section_dump(readobj_path, section_name, input_file):
|
||||
import subprocess
|
||||
cmd = [readobj_path, '-elf-output-style=GNU', '--hex-dump={}'.format(section_name),
|
||||
cmd = [readobj_path, '--elf-output-style=GNU', '--hex-dump={}'.format(section_name),
|
||||
input_file]
|
||||
proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||
|
||||
|
|
Loading…
Reference in New Issue