From 40463301e4586a1b1bcdf4af65ef10b67ac32c66 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 19 Feb 2020 17:09:47 -0800 Subject: [PATCH] [ELF][test] Fix shuffle_sections.s C++ standard libraries have different random function implementations. We cannot expect a particular order. --- lld/test/ELF/shuffle-sections.s | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lld/test/ELF/shuffle-sections.s b/lld/test/ELF/shuffle-sections.s index 5250ea5..812c079 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 -- 2.7.4