Skip to content
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

GlobalValue filtering based on linkage rework #101

Closed
ahueck opened this issue Dec 23, 2021 · 0 comments · Fixed by #108
Closed

GlobalValue filtering based on linkage rework #101

ahueck opened this issue Dec 23, 2021 · 0 comments · Fixed by #108
Labels
bug Something isn't working

Comments

@ahueck
Copy link
Contributor

ahueck commented Dec 23, 2021

Filtering based on linkage, e.g., GlobalValue::ExternalLinkage, is too inclusive.

int i; // @i = dso_local global i32 0, align 4, !dbg !6 -> ExternalLinkage 
int ii = 0; // @ii = dso_local global i32 0, align 4, !dbg !0 -> ExternalLinkage
extern const int eci; //  @eci = external dso_local constant i32, align 4 -> ExternalLinkage
static int si; //  @si = internal global i32 0, align 4, !dbg !12
@ahueck ahueck added the bug Something isn't working label Dec 23, 2021
@ahueck ahueck mentioned this issue Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant