It appears that dump_syms doesn't work with thread-local variables on OS X. The
code below gives no symbols dumped:
======
__thread int v = 0;
int main()
{
return v;
}
======
Removing the __thread keyword fixes the issue. Please see the attached project
for a working sample of the bug.
See here for the discussion regarding the issue:
https://github.com/embree/embree/issues/23
This happens on OS X for me, but can also be an issue on any other unix-based
platform. We used dump_syms built by Mozilla guys, not exactly sure about its
version - it is not easy to build one from scratch.
Original issue reported on code.google.com by vitaly.o...@gmail.com on 3 Feb 2015 at 2:12
Original issue reported on code.google.com by
vitaly.o...@gmail.com
on 3 Feb 2015 at 2:12Attachments: