brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1001 B · ca14703 Raw
28 lines · plain
1; REQUIRES: bpf-registered-target2 3; RUN: llc -filetype obj -o - %s | llvm-readobj --sections - | FileCheck --check-prefix="SECTIONS" %s4;5; SECTIONS:         Name: .data.A6; SECTIONS-NEXT:    Type: SHT_PROGBITS (0x1)7; SECTIONS-NEXT:        Flags [ (0x3)8; SECTIONS-NEXT:          SHF_ALLOC (0x2)9; SECTIONS-NEXT:          SHF_WRITE (0x1)10; SECTIONS-NEXT:    ]11;12; SECTIONS:         Name: .rodata.A13; SECTIONS-NEXT:    Type: SHT_PROGBITS (0x1)14; SECTIONS-NEXT:        Flags [ (0x3)15; SECTIONS-NEXT:          SHF_ALLOC (0x2)16; SECTIONS-NEXT:          SHF_WRITE (0x1)17; SECTIONS-NEXT:    ]18 19 20target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128"21target triple = "bpf"22 23@glock = dso_local local_unnamed_addr global i32 0, section ".data.A", align 824@ghead = dso_local local_unnamed_addr global i32 0, section ".data.A", align 825 26@glock2 = dso_local local_unnamed_addr global i32 0, section ".rodata.A", align 827@ghead2 = dso_local local_unnamed_addr global i32 0, section ".rodata.A", align 828