forked from OSchip/llvm-project
20 lines
766 B
Plaintext
20 lines
766 B
Plaintext
# Check handling object files with non-unique named sections.
|
|
|
|
RUN: lld -flavor gnu -target x86_64-linux -shared -o %t \
|
|
RUN: %p/Inputs/no-unique-section-names.x86-64
|
|
RUN: llvm-objdump -s %p/Inputs/no-unique-section-names.x86-64 %t \
|
|
RUN: | FileCheck %s
|
|
|
|
CHECK: Contents of section .group:
|
|
CHECK-NEXT: 0000 01000000 08000000
|
|
CHECK-NEXT: Contents of section .text:
|
|
CHECK-NEXT: 0000 [[A1:[0-9a-f]+]] [[A2:[0-9a-f]+]] [[A3:[0-9a-f]+]]
|
|
CHECK-NEXT: Contents of section .group:
|
|
CHECK-NEXT: 0000 01000000 0a000000
|
|
CHECK-NEXT: Contents of section .text:
|
|
CHECK-NEXT: 0000 [[B1:[0-9a-f]+]] [[B2:[0-9a-f]+]] [[B3:[0-9a-f]+]]
|
|
|
|
CHECK: Contents of section .text:
|
|
CHECK: {{[0-9a-f]+}} [[A1]] [[A2]] [[A3]]
|
|
CHECK-NEXT: {{[0-9a-f]+}} [[B1]] [[B2]] [[B3]]
|