From 8b3b09fdcfaffbd39b2adfc05e053ca019ef965b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 6 Aug 2015 21:54:37 +0000 Subject: Move to llvm-readobj code that is only used there. lld might end up using a small part of this, but it will be in a much refactored form. For now this unblocks avoiding the full section scan in the ELFFile constructor. This also has a (very small) error handling improvement. llvm-svn: 244282 --- llvm/test/Object/corrupt.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Object/corrupt.test') diff --git a/llvm/test/Object/corrupt.test b/llvm/test/Object/corrupt.test index 05a8d0fab5c..360e7c8775e 100644 --- a/llvm/test/Object/corrupt.test +++ b/llvm/test/Object/corrupt.test @@ -23,7 +23,7 @@ SYMNAME: Error reading file: Invalid data was encountered while parsing the file RUN: not llvm-readobj %p/Inputs/corrupt-version.elf-x86_64 -dt \ RUN: 2>&1 | FileCheck --check-prefix=VER %s -VER: Error reading file: Invalid data was encountered while parsing the file. +VER: Error reading file: Invalid version entry. // The file is missing the dynamic string table but has references to it. -- cgit v1.2.3