brintos

brintos / llvm-project-archived public Read only

0
0
Text · 738 B · 2a540be Raw
23 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g5 | FileCheck %s2 3; CHECK:      .section	.opd,"aw",@progbits4; CHECK-NEXT: test1:5; CHECK-NEXT:	.p2align 36; CHECK-NEXT:	.quad .L[[BEGIN:.*]]7; CHECK-NEXT:	.quad .TOC.@tocbase8; CHECK-NEXT:   .quad 09; CHECK-NEXT:	.text10; CHECK-NEXT: .L[[BEGIN]]:11 12define i32 @test1(i32 %a) nounwind {13entry:14  ret i32 %a15}16 17; Until recently, binutils accepted the .size directive as:18;  .size	test1, .Ltmp0-test119; however, using this directive with recent binutils will result in the error:20;  .size expression for XXX does not evaluate to a constant21; so we must use the label which actually tags the start of the function.22; CHECK: .size	test1, .Lfunc_end0-.L[[BEGIN]]23