18 lines · plain
1// REQUIRES: x862 3// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t-x86_64.obj4// RUN: llvm-mc -filetype=obj -triple=i686-windows %s -o %t-x86.obj5// RUN: lld-link -machine:amd64 -out:%t-x86_64.dll %t-x86_64.obj -dll -noentry6// RUN: lld-link -machine:x86 -out:%t-x86.dll %t-x86.obj -dll -noentry -safeseh:no7 8// RUN: llvm-readobj --hex-dump=.rdata %t-x86_64.dll | FileCheck %s -check-prefix=RDATA9// RUN: llvm-readobj --hex-dump=.rdata %t-x86.dll | FileCheck %s -check-prefix=RDATA10// RDATA: 7856341211 12// RUN: llvm-readobj --sections %t-x86_64.dll | FileCheck %s -check-prefix=SECTIONS13// RUN: llvm-readobj --sections %t-x86.dll | FileCheck %s -check-prefix=SECTIONS14// SECTIONS-NOT: .00cfg15 16 .section ".00cfg", "dr"17 .long 0x1234567818