[PATCH] D37852: [dwarfdump] Make .eh_frame a first class citizen

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 14:48:29 PDT 2017


aprantl added a comment.

In https://reviews.llvm.org/D37852#871076, @probinson wrote:

> My impression is that .eh_frame and .debug_frame are interchangeable and in fact you get only one or the other in any given compilation.  So, if you ask for .debug_frame and the object has .eh_frame, I think we should still dump it; and vice versa.


I think we can apply the same rules as for .dwo sections here. If DumpDebugFrame is requested we dump .debug_frame and .eh_frame, whichever exists.
For compatibility with Darwin dwarfdump we can add a --eh-frame option that is an alias to --debug-frame.


Repository:
  rL LLVM

https://reviews.llvm.org/D37852





More information about the llvm-commits mailing list