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

Statics in MSVC built objs don't show names #148

Open
tomsons26 opened this issue Dec 24, 2024 · 0 comments
Open

Statics in MSVC built objs don't show names #148

tomsons26 opened this issue Dec 24, 2024 · 0 comments

Comments

@tomsons26
Copy link

tomsons26 commented Dec 24, 2024

Dunno the range of which compilers are affected but this is with VS6

image

#include <stdio.h>

static void PrintThing()
{
	printf("aaaaa");
}

// store pointer to function to make sure compiler makes it
void *a = PrintThing;

symbol ?PrintThing@@YAXXZ is present in the obj

attached is the code compiled to obj with VS6
objdiffstaticdebug.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant