[PATCH] D32625: lldb-dwarfdump -verify [-quiet]

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 16:28:00 PDT 2017


clayborg added a comment.

Forgot to add that the verifier respects the -debug-dump option! So you can currently do:

  // Verify all sections
  llvm-dwardump --verify a.out
  // Verify only .debug_info
  llvm-dwardump --verify -debug-dump=info a.out
  // Verify only .debug_aranges
  llvm-dwardump --verify -debug-dump=aranges a.out
  // Verify only .debug_line
  llvm-dwardump --verify -debug-dump=line a.out
  
  And for Eric Christopher I added "--quiet":
  
  llvm-dwardump --verify a.out --quiet
  
  The program will return a non-zero exit status if verification fails, and zero if it succeeds


https://reviews.llvm.org/D32625





More information about the llvm-commits mailing list