llvm-for-llvmta/test/MC/COFF/secrel32.s

11 lines
280 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -S --sr - | FileCheck %s
// check that we produce the correct relocation for .secrel32
Lfoo:
.secrel32 Lfoo
// CHECK: Relocations [
// CHECK-NEXT: 0x0 IMAGE_REL_I386_SECREL .text
// CHECK-NEXT: ]