You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
344 B

; 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
}