aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Examples/OrcV2Examples/Inputs/argc_sub1.ll
blob: 97317710a60a17dafe81fdd7f3b26d7d413a80a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
define i32 @sub1(i32 %0) {
  %2 = add i32 %0, -1
  ret i32 %2
}

define i32 @main(i32 %0) {
  %2 = call i32 @sub1(i32 %0)
  ret i32 %2
}

!llvm.module.flags = !{!0}
!llvm.dbg.cu = !{!1}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang 18.0.0git", emissionKind: FullDebug)
!2 = !DIFile(filename: "argc_sub1.c", directory: ".")