New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exported variable is unnamed #771

andrewrk opened this Issue Feb 11, 2018 · 0 comments


None yet
1 participant

andrewrk commented Feb 11, 2018

var x: i32 = 1234;
export var x_ptr = &x;
@x = internal unnamed_addr global i32 1234, align 4
@0 = unnamed_addr global i32* @x, align 8

Instead of @0 it should be @x_ptr.

@andrewrk andrewrk added the bug label Feb 11, 2018

@andrewrk andrewrk added this to the 0.2.0 milestone Feb 11, 2018

@andrewrk andrewrk closed this in f2d6016 Feb 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment