brintos

brintos / llvm-project-archived public Read only

0
0
Text · 763 B · b950af5 Raw
22 lines · plain
1// REQUIRES: aarch642 3// Check that -aligncomm applies to both native and EC symbols.4 5// RUN: llvm-mc -filetype=obj -triple=aarch64-windows-gnu %s -o %t-arm64.obj6// RUN: llvm-mc -filetype=obj -triple=arm64ec-windows-gnu %s -o %t-arm64ec.obj7// RUN: lld-link -machine:arm64x -lldmingw -dll -noentry -out:%t.dll %t-arm64.obj %t-arm64ec.obj8// RUN: llvm-readobj --hex-dump=.test %t.dll | FileCheck %s9// CHECK: 0x180004000 10200000 18200000 20200000 2820000010 11// RUN: lld-link -machine:arm64ec -lldmingw -dll -noentry -out:%t-ec.dll %t-arm64.obj %t-arm64ec.obj12// RUN: llvm-readobj --hex-dump=.test %t-ec.dll | FileCheck %s13 14        .data15        .word 016 17        .section .test,"dr"18        .rva sym19        .rva sym220        .comm sym,4,421        .comm sym2,4,322