[PATCH] D74205: [llvm-dwarfdump] Add the --show-sections-sizes option

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 05:16:38 PST 2020


djtodoro marked an inline comment as done.
djtodoro added inline comments.


================
Comment at: llvm/test/tools/llvm-dwarfdump/X86/show_section_sizes.s:1
+# RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj | llvm-dwarfdump --show-section-sizes - | FileCheck %s
+#
----------------
jhenderson wrote:
> As this test doesn't do any analysis it would make more sense to use yaml2obj to create sections of an appropriate size instead of llvm-mc on a bunch of hard-to-read assembly. You can see examples in something like "llvm\test\tools\llvm-readobj\ELF\sections.test".
I'll add such test as well.


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

https://reviews.llvm.org/D74205





More information about the llvm-commits mailing list