Skip to content

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

Closed
@tomsons26

Description

@tomsons26

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions