Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / note.s
blob4b43bd4040edb165a7dab9cb9ad38c6c1d8b7e05
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 // RUN: ld.lld %t.o -o %t -shared
4 // RUN: llvm-readobj -l %t | FileCheck %s
6 // CHECK: Type: PT_NOTE
7 // CHECK-NEXT: Offset:
8 // CHECK-NEXT: VirtualAddress:
9 // CHECK-NEXT: PhysicalAddress:
10 // CHECK-NEXT: FileSize: 8
11 // CHECK-NEXT: MemSize: 8
12 // CHECK-NEXT: Flags [
13 // CHECK-NEXT: PF_R
14 // CHECK-NEXT: ]
15 // CHECK-NEXT: Alignment: 1
17 .section .note.test,"a",@note
18 .quad 42