• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=x86_64-unknown-linux | FileCheck %s
2
3; CHECK: .section .llvm_sympart,"",@llvm_sympart,unique,1
4; CHECK-NEXT: .ascii "part1"
5; CHECK-NEXT: .zero 1
6; CHECK-NEXT: .quad f1
7; CHECK-NEXT: .section .llvm_sympart,"",@llvm_sympart,unique,2
8; CHECK-NEXT: .ascii "part4"
9; CHECK-NEXT: .zero 1
10; CHECK-NEXT: .quad g1
11; CHECK-NEXT: .section .llvm_sympart,"",@llvm_sympart,unique,3
12; CHECK-NEXT: .ascii "part5"
13; CHECK-NEXT: .zero 1
14; CHECK-NEXT: .quad a1
15; CHECK-NEXT: .section .llvm_sympart,"",@llvm_sympart,unique,4
16; CHECK-NEXT: .ascii "part6"
17; CHECK-NEXT: .zero 1
18; CHECK-NEXT: .quad i1
19
20define void @f1() partition "part1" {
21  unreachable
22}
23
24define hidden void @f2() partition "part2" {
25  unreachable
26}
27
28declare void @f3() partition "part3"
29
30@g1 = global i32 0, partition "part4"
31
32@a1 = alias i32, i32* @g1, partition "part5"
33@i1 = ifunc void(), void()* @f1, partition "part6"
34