brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · 6561b60 Raw
13 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj3// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe4// RUN: llvm-readobj --sections %t.exe | FileCheck %s5    .globl main6main:7    ret8 9// Check that the first section data comes at 512 bytes in the file.10// If the size allocated for headers would include size for section11// headers which aren't written, PointerToRawData would be 0x400 instead.12// CHECK: PointerToRawData: 0x20013