view test/Linker/module-flags-pic-2-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 803732b1fca8
children
line wrap: on
line source

; RUN: llvm-link %s %p/Inputs/module-flags-pic-2-b.ll -S -o - | FileCheck %s

; test linking modules with two different PIC and PIE levels

!0 = !{ i32 7, !"PIC Level", i32 1 }
!1 = !{ i32 7, !"PIE Level", i32 1 }

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

; CHECK: !0 = !{i32 7, !"PIC Level", i32 2}
; CHECK: !1 = !{i32 7, !"PIE Level", i32 2}