[PATCH] D124082: [Debuginfo][llvm-dwarfdump][dsymutil] Add dsymutil compatibility dump.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 09:46:27 PDT 2022


clayborg added a comment.

Instead of doing a dumping thing, it might be a good idea to have a comparison mode build into llvm-dsymutil that can compare the contents of two files maybe? As David Blaikie suggested, this output format won't help diff things as we enable more complex garbage collection and type uniquing. If we do want a dump format that can be diffed, it should probably be output in a format that sorts things a bit better. Like sorting all functions by address and making a common output format for them. Types would be output sorted by type name, but it would be harder to diff especially since the other llvm-dsymutil did more simple type uniquing and the new modifications you are trying to get in really merge all of the types. There is already a "--diff" option to this tool that omits all addresses and offsets to help diff two files so chunks that were removed can easily be identified, does that mode not work for you?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124082/new/

https://reviews.llvm.org/D124082



More information about the llvm-commits mailing list