[lld] r365184 - [LLD][ELF] - Update a test after LLVM change.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 04:29:04 PDT 2019
Author: grimar
Date: Fri Jul 5 04:29:04 2019
New Revision: 365184
URL: http://llvm.org/viewvc/llvm-project?rev=365184&view=rev
Log:
[LLD][ELF] - Update a test after LLVM change.
Error reporting changed in r365183
Modified:
lld/trunk/test/ELF/invalid/dynamic-section-broken.test
Modified: lld/trunk/test/ELF/invalid/dynamic-section-broken.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/dynamic-section-broken.test?rev=365184&r1=365183&r2=365184&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/dynamic-section-broken.test (original)
+++ lld/trunk/test/ELF/invalid/dynamic-section-broken.test Fri Jul 5 04:29:04 2019
@@ -1,7 +1,7 @@
## .dynamic section has invalid sh_entsize, check we report it.
# RUN: yaml2obj -docnum=1 %s -o %t.so
# RUN: not ld.lld %t.so -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR1
-# ERR1: error: {{.*}}.so: invalid sh_entsize
+# ERR1: error: {{.*}}.so: section [index 1] has an invalid sh_entsize: 291
--- !ELF
FileHeader:
@@ -20,7 +20,7 @@ Sections:
## even less than entry size. Check we report it.
# RUN: yaml2obj -docnum=2 %s -o %t.so
# RUN: not ld.lld %t.so -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR2
-# ERR2: error: {{.*}}.so: size is not a multiple of sh_entsize
+# ERR2: error: {{.*}}.so: section [index 1] has an invalid sh_size (1) which is not a multiple of its sh_entsize (16)
--- !ELF
FileHeader:
More information about the llvm-commits
mailing list