llvm.org GIT mirror llvm / 212f3ab
[Linker] Add some test coverage for llvm.ident merging git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221403 91177308-0d34-0410-b5e6-96231b3b80d8 Sean Silva 5 years ago
3 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 !llvm.ident = !{!0, !1}
1 !0 = metadata !{metadata !"Compiler V1"}
2 !1 = metadata !{metadata !"Compiler V2"}
0 !llvm.ident = !{!0}
1 !0 = metadata !{metadata !"Compiler V3"}
0 ; RUN: llvm-link %S/Inputs/ident.a.ll %S/Inputs/ident.b.ll -S | FileCheck %s
1
2 ; Verify that multiple input llvm.ident metadata are linked together.
3
4 ; CHECK-DAG: !llvm.ident = !{!0, !1, !2}
5 ; CHECK-DAG: "Compiler V1"
6 ; CHECK-DAG: "Compiler V2"
7 ; CHECK-DAG: "Compiler V3"
8