brintos

brintos / llvm-project-archived public Read only

0
0
Text · 575 B · fdbcae9 Raw
14 lines · plain
1; RUN: llc < %s -mtriple=thumbv8m.base-eabi -mattr=+execute-only -filetype=obj %s -o - | \2; RUN: llvm-readelf -S - | FileCheck %s3; RUN: llc < %s -mtriple=thumbv8m.main-eabi -mattr=+execute-only -filetype=obj %s -o - | \4; RUN: llvm-readelf -S - | FileCheck %s5; RUN: llc < %s -mtriple=thumbv7m-eabi -mattr=+execute-only -filetype=obj %s -o - | \6; RUN: llvm-readelf -S - | FileCheck %s7 8; CHECK-NOT: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AX[^y]}}9; CHECK: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AXy}}10define void @test_func() {11entry:12  ret void13}14