mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
13 lines
437 B
LLVM
13 lines
437 B
LLVM
|
;; Test upgrade linker option doesn't create duplicated linker options.
|
||
|
;; Inputs is generated from IR and checked in as bitcode as it will get rejected by verifier.
|
||
|
;; define void @test() {
|
||
|
;; ret void
|
||
|
;; }
|
||
|
;; !llvm.module.flags = !{!0}
|
||
|
;; !0 = !{i32 6, !"Linker Options", !1}
|
||
|
;; !1 = !{!2}
|
||
|
;; !2 = !{!"-framework", !"Foundation"}
|
||
|
|
||
|
; RUN: llvm-dis %S/Inputs/linker-options.bc -o - | FileCheck %s
|
||
|
; CHECK: !llvm.linker.options = !{!2}
|