[lld] 4046330 - [ELF][test] Fix shuffle_sections.s
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 17:11:15 PST 2020
Author: Fangrui Song
Date: 2020-02-19T17:10:32-08:00
New Revision: 40463301e4586a1b1bcdf4af65ef10b67ac32c66
URL: https://github.com/llvm/llvm-project/commit/40463301e4586a1b1bcdf4af65ef10b67ac32c66
DIFF: https://github.com/llvm/llvm-project/commit/40463301e4586a1b1bcdf4af65ef10b67ac32c66.diff
LOG: [ELF][test] Fix shuffle_sections.s
C++ standard libraries have different random function implementations.
We cannot expect a particular order.
Added:
Modified:
lld/test/ELF/shuffle-sections.s
Removed:
################################################################################
diff --git a/lld/test/ELF/shuffle-sections.s b/lld/test/ELF/shuffle-sections.s
index 5250ea5e1a27..812c0796280a 100644
--- a/lld/test/ELF/shuffle-sections.s
+++ b/lld/test/ELF/shuffle-sections.s
@@ -6,12 +6,6 @@
# CHECK: Hex dump of section '.text':
# CHECK-NEXT: 01020304
-## --shuffle-sections= shuffles input sections.
-# RUN: ld.lld --shuffle-sections=1 %t.o -o %t1.out
-# RUN: llvm-readelf -x .text %t1.out | FileCheck %s --check-prefix=SHUFFLE1
-# SHUFFLE1: Hex dump of section '.text':
-# SHUFFLE1-NEXT: 01020403
-
## Test that --shuffle-sections= can be used with --symbol-ordering-file
# RUN: echo "foo" > %t_order.txt
# RUN: echo "_start " >> %t_order.txt
More information about the llvm-commits
mailing list