Mercurial > hg > CbC > CbC_llvm
view test/Linker/weakextern.ll @ 108:1881386f7909
use llvm.setjmp and llvm.longjmp
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Feb 2016 02:57:01 +0900 |
parents | 7d135dc70f03 |
children |
line wrap: on
line source
; RUN: llvm-link %s %s %p/testlink.ll -S | FileCheck %s ; CHECK: kallsyms_names = extern_weak ; CHECK: Inte = global i32 ; CHECK: MyVar = external global i32 @kallsyms_names = extern_weak global [0 x i8] @MyVar = extern_weak global i32 @Inte = extern_weak global i32 define weak [0 x i8]* @use_kallsyms_names() { ret [0 x i8]* @kallsyms_names }