No symbol info on profiler

607 Views Asked by At

When I use g++ with -g on, AMD CodeAnalyst shows no Symbol information, and Very Sleepy crashes. However, if I compile it without debug information, Very Sleepy runs but of course, no symbols.

I tried to use MSVC and it works perfectly fine, all symbols are there. However I don't want to use it. I wonder why g++ has such an issue.

I use g++ version 4.7.2, VC10 MSVC compiler, CodeAnalyst 3.4.1037.838, Very Sleepy 0.82. Pretty much everything is up to date.

Thanks!

Edit: I created a hello world project

void hede()
{
    while(1);
}

int main() {
    cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
    hede();
    return 0;
}

Very sleepy crashes and CodeAnalyst still have no symbols. I suspect a bug here? enter image description here

1

There are 1 best solutions below

1
On