[PATCH] D77864: [llvm-nm/objdump/size] Enable error reporting in clients when getSymbolFlags() fails.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 03:43:38 PDT 2020


grimar added inline comments.


================
Comment at: llvm/test/tools/llvm-nm/invalid-symbol-table-size.test:12
+
+# CHECK: error: {{.*}} section [index 2] has an invalid sh_size ([[SIZE]]) which is not a multiple of its sh_entsize ([[SYMSIZE]])
+
----------------
In this and other test cases you have 2 sections: `.symtab` and `.dynsym`, but only one section (with index 2)
is reported in error messages.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77864





More information about the llvm-commits mailing list