• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3# RUN: ld.lld -z wxneeded %t -o %t.out
4# RUN: llvm-readobj --program-headers %t.out | FileCheck %s
5
6# CHECK:      ProgramHeader {
7# CHECK:        Type: PT_OPENBSD_WXNEEDED (0x65A3DBE7)
8# CHECK-NEXT:   Offset: 0x0
9# CHECK-NEXT:   VirtualAddress: 0x0
10# CHECK-NEXT:   PhysicalAddress: 0x0
11# CHECK-NEXT:   FileSize: 0
12# CHECK-NEXT:   MemSize: 0
13# CHECK-NEXT:   Flags [
14# CHECK-NEXT:     PF_X
15# CHECK-NEXT:   ]
16# CHECK-NEXT:   Alignment: 0
17# CHECK-NEXT: }
18