[llvm] 5076d27 - Update test after https://reviews.llvm.org/D104483

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 11:50:48 PDT 2021


Author: Adrian Prantl
Date: 2021-06-23T11:50:39-07:00
New Revision: 5076d27ff01913a280e8ca8b40d38fb11fe7113d

URL: https://github.com/llvm/llvm-project/commit/5076d27ff01913a280e8ca8b40d38fb11fe7113d
DIFF: https://github.com/llvm/llvm-project/commit/5076d27ff01913a280e8ca8b40d38fb11fe7113d.diff

LOG: Update test after https://reviews.llvm.org/D104483

Added: 
    

Modified: 
    llvm/test/DebugInfo/dwarfdump-invalid.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/dwarfdump-invalid.test b/llvm/test/DebugInfo/dwarfdump-invalid.test
index a36ad2f412e6a..69fff15a225ae 100644
--- a/llvm/test/DebugInfo/dwarfdump-invalid.test
+++ b/llvm/test/DebugInfo/dwarfdump-invalid.test
@@ -1,6 +1,8 @@
 ; Verify that llvm-dwarfdump doesn't crash on broken input files.
 
-RUN: not llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
-RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
-RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
-INVALID-ELF: Invalid data was encountered while parsing the file
+RUN: not llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF1
+RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF2
+RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF3
+INVALID-ELF1: section header table goes past the end of the file
+INVALID-ELF2: Invalid ELF data
+INVALID-ELF3: Invalid ELF class


        


More information about the llvm-commits mailing list