1// REQUIRES: x86 2 3// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t-x86_64.obj 4// RUN: llvm-mc -filetype=obj -triple=i686-windows %s -o %t-x86.obj 5// RUN: lld-link -machine:amd64 -out:%t-x86_64.dll %t-x86_64.obj -dll -noentry 6// RUN: lld-link -machine:x86 -out:%t-x86.dll %t-x86.obj -dll -noentry -safeseh:no 7 8// RUN: llvm-readobj --hex-dump=.rdata %t-x86_64.dll | FileCheck %s -check-prefix=RDATA 9// RUN: llvm-readobj --hex-dump=.rdata %t-x86.dll | FileCheck %s -check-prefix=RDATA 10// RDATA: 78563412 11 12// RUN: llvm-readobj --sections %t-x86_64.dll | FileCheck %s -check-prefix=SECTIONS 13// RUN: llvm-readobj --sections %t-x86.dll | FileCheck %s -check-prefix=SECTIONS 14// SECTIONS-NOT: .00cfg 15 16 .section ".00cfg", "dr" 17 .long 0x12345678 18