[Git][reproducible-builds/diffoscope][master] Fix llvm macho comparator for archs != x86-64

Chris Lamb (@lamby) gitlab at salsa.debian.org
Thu Sep 30 09:07:21 UTC 2021



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
4ea2175c by Jean-Romain Garnier at 2021-09-30T10:02:58+02:00
Fix llvm macho comparator for archs != x86-64

Replace the 'arch-name' argument with 'arch' in call to llvm-objdump as the former is not always taken into account for macho files

Closes #277

- - - - -


1 changed file:

- diffoscope/comparators/macho.py


Changes:

=====================================
diffoscope/comparators/macho.py
=====================================
@@ -294,7 +294,7 @@ class LlvmObjdump(Command):
 
     def objdump_options(self):
         return [
-            f"--arch-name={self._arch}",
+            f"--arch={self._arch}",
             f"--section={self._section}",
             "--macho",
             "--demangle",



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/4ea2175c8c554b7d753aa9b5a7ffd11d4ed5b3f0

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/4ea2175c8c554b7d753aa9b5a7ffd11d4ed5b3f0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20210930/03d93379/attachment.htm>


More information about the rb-commits mailing list