Mercurial > hg > CbC > CbC_llvm
view test/ThinLTO/X86/Inputs/section.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | c2174574ed3a |
line wrap: on
line source
; An internal global variable that can't be renamed because it has a section @var_with_section = internal global i32 0, section "some_section" ; @reference_gv_with_section() can't be imported define i32 @reference_gv_with_section() { %res = load i32, i32* @var_with_section ret i32 %res } ; canary define void @foo() { ret void }