[llvm] [llvm-objdump] Fix --source with --macho flag (PR #163810)
Daniel RodrÃguez Troitiño via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 17 16:29:45 PDT 2025
https://github.com/drodriguez commented:
Not sure if for `llvm-objdump` the options that are not explicitly Mach-O should work with Mach-O. Or should work the same than when `--macho` is not provided. It seems that `--macho` might have been introduced at a time that a lot of functionality was not existing.
I have checked, to the best of my ability, if this would change anything for `llvm-otool`, which output probably should be compatible with Apple's `otool`, and I don't think `otool` options give access to the same functionality that `--source`, `--line-numbers`, or `-g`, so the changes in the code should not be hit by `otool`.
https://github.com/llvm/llvm-project/pull/163810
More information about the llvm-commits
mailing list