[PATCH] D21552: [ELF] - Teach llvm-readobj to print dependencies of SHT_GNU_verdef and refactor dumping method.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 16:04:34 PDT 2016


ruiu added a subscriber: ruiu.

================
Comment at: test/tools/llvm-readobj/elf-versioninfo.test:58
@@ +57,3 @@
+CHECK-NEXT:     Name: blah
+CHECK-NEXT:     Dependencies {
+CHECK-NEXT:     }
----------------
Is it a common practice for llvm-dump* tools to print out an empty set `{}` if an element is missing? An alternative way is to not print out `Dependencies {}` if a version definition has no dependencies.


http://reviews.llvm.org/D21552





More information about the llvm-commits mailing list