[lld] fbb6c9d - [LLD][ELF] - Fix the test after llvm-readelf output change.

Georgii Rymar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 05:19:11 PDT 2020


Author: Georgii Rymar
Date: 2020-07-13T15:18:30+03:00
New Revision: fbb6c9df28ccc8c35d39ea56707f71a3b2619071

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

LOG: [LLD][ELF] - Fix the test after llvm-readelf output change.

An issue for llvm-readelf was fixed in
https://reviews.llvm.org/rG84a170178c4431b7536c83ff0e5ce80774d08df6

Now it produce no output for this test.

Added: 
    

Modified: 
    lld/test/ELF/ppc64-rel-so-local-calls.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/ppc64-rel-so-local-calls.s b/lld/test/ELF/ppc64-rel-so-local-calls.s
index 2bc89d554a02..3d2e0673c3a7 100644
--- a/lld/test/ELF/ppc64-rel-so-local-calls.s
+++ b/lld/test/ELF/ppc64-rel-so-local-calls.s
@@ -2,15 +2,11 @@
 
 // RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t.o
 // RUN: ld.lld -shared %t.o -o %t.so
-// RUN: llvm-readelf -dyn-relocations %t.so | FileCheck %s
+// RUN: llvm-readelf -dyn-relocations %t.so | FileCheck %s -allow-empty --implicit-check-not={{.}}
 
 // RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t.o
 // RUN: ld.lld -shared %t.o -o %t.so
-// RUN: llvm-readelf -dyn-relocations %t.so | FileCheck %s
-
-
-// CHECK-NOT: foo
-// CHECK-NOT: bar
+// RUN: llvm-readelf -dyn-relocations %t.so | FileCheck %s -allow-empty --implicit-check-not={{.}}
 
 	.text
 	.abiversion 2


        


More information about the llvm-commits mailing list