[PATCH] D104483: Improve error handling in llvm-dwarfdump

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 14:56:43 PDT 2021


aprantl added inline comments.


================
Comment at: llvm/test/tools/llvm-dwarfdump/X86/lc_malformed.test:2
+# RUN: yaml2obj %s | not llvm-dwarfdump --uuid - 2>&1 | FileCheck %s
+# CHECK: load command 0 filesize field in LC_SEGMENT_64 greater than vmsize field
+
----------------
Without the patch you would see `Invalid data was encountered while parsing the file`.


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

https://reviews.llvm.org/D104483



More information about the llvm-commits mailing list