view test/Linker/module-flags-4-a.ll @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - 2>&1 | FileCheck %s

; Test 'require' error.

; CHECK: linking module flags 'bar': does not have the required value

!0 = !{ i32 1, !"foo", i32 37 }
!1 = !{ i32 4, !"bar", i32 927 }

!llvm.module.flags = !{ !0, !1 }