Skip to content
Snippets Groups Projects
Commit b2b1f731 authored by Zbigniew Jędrzejewski-Szmek's avatar Zbigniew Jędrzejewski-Szmek Committed by Chris Lamb
Browse files

Adjust invocations of llvm-objdump

With llvm-13.0.0~rc1, we get the following error:

Command `'llvm-objdump --arch-name x86_64 --section __TEXT,__text --macho --demangle --no-leading-addr --no-show-raw-insn {}'` failed with exit code 1. Standard output:
│┄     llvm-objdump: error: unknown argument '--arch-name'

--arch-name=… works with both the new llvm and older ones.
I thought this would fix #275, but it turns out it's not enough.
parent 4c3109cb
No related branches found
No related tags found
1 merge request!87Stop using deprecated distutils
......@@ -294,10 +294,8 @@ class LlvmObjdump(Command):
def objdump_options(self):
return [
"--arch-name",
self._arch,
"--section",
self._section,
f"--arch-name={self._arch}",
f"--section={self._section}",
"--macho",
"--demangle",
"--no-leading-addr",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment