[lld] 8781590 - [ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 17:13:34 PST 2020
Author: Fangrui Song
Date: 2020-02-19T17:13:06-08:00
New Revision: 878159038b0cae2c9ca4180ea35f5e115e9570ce
URL: https://github.com/llvm/llvm-project/commit/878159038b0cae2c9ca4180ea35f5e115e9570ce
DIFF: https://github.com/llvm/llvm-project/commit/878159038b0cae2c9ca4180ea35f5e115e9570ce.diff
LOG: [ELF][test] Fix --symbol-ordering-file tests of shuffle_sections.s
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 812c0796280a..259ee5fed462 100644
--- a/lld/test/ELF/shuffle-sections.s
+++ b/lld/test/ELF/shuffle-sections.s
@@ -13,12 +13,12 @@
# RUN: ld.lld --symbol-ordering-file %t_order.txt --shuffle-sections=2 %t.o -o %t2.out
# RUN: llvm-readelf -x .text %t2.out | FileCheck %s --check-prefix=SHUFFLE2
# SHUFFLE2: Hex dump of section '.text':
-# SHUFFLE2-NEXT: 02cccccc 010403
+# SHUFFLE2-NEXT: 02cccccc 01{{....}}
# RUN: ld.lld --symbol-ordering-file %t_order.txt --shuffle-sections=3 %t.o -o %t3.out
# RUN: llvm-readelf -x .text %t3.out | FileCheck %s --check-prefix=SHUFFLE3
# SHUFFLE3: Hex dump of section '.text':
-# SHUFFLE3-NEXT: 02cccccc 010304
+# SHUFFLE3-NEXT: 02cccccc 01{{....}}
## .text has an alignment of 4.
.global _start
More information about the llvm-commits
mailing list