brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 36b1c27 Raw
39 lines · plain
1; RUN: llc -filetype=obj -mtriple=powerpc %s -o %t32.o2; RUN: llvm-readobj -r %t32.o | FileCheck %s --check-prefix=PPC_REL3; RUN: llvm-dwarfdump --eh-frame %t32.o 2>&1 | FileCheck %s --check-prefix=PPC4 5; PPC_REL:      R_PPC_REL32 .text 0x06; PPC_REL-NEXT: R_PPC_REL32 .text 0x47 8; PPC-NOT: warning:9; PPC: FDE cie=00000000 pc=00000000...0000000410; PPC: FDE cie=00000000 pc=00000004...0000000811 12; RUN: llc -filetype=obj -mtriple=ppc64 %s -o %t64.o13; RUN: llvm-readobj -r %t64.o | FileCheck %s --check-prefix=PPC64_REL14; RUN: llvm-dwarfdump --eh-frame %t64.o 2>&1 | FileCheck %s --check-prefix=PPC6415 16; PPC64_REL:      R_PPC64_REL32 .text 0x017; PPC64_REL-NEXT: R_PPC64_REL32 .text 0x1018 19; PPC64-NOT: warning:20; PPC64: FDE cie=00000000 pc=00000000...0000001021; PPC64: FDE cie=00000000 pc=00000010...0000002022 23; RUN: llc -filetype=obj -mtriple=ppc64le -code-model=large %s -o %t64l.o24; RUN: llvm-readobj -r %t64l.o | FileCheck %s --check-prefix=PPC64L_REL25; RUN: llvm-dwarfdump --eh-frame %t64l.o 2>&1 | FileCheck %s --check-prefix=PPC6426 27; PPC64L_REL:      R_PPC64_REL64 .text 0x028; PPC64L_REL-NEXT: R_PPC64_REL64 .text 0x1029 30define void @foo() {31entry:32  ret void33}34 35define void @bar() {36entry:37  ret void38}39