DIP83

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 16 08:10:18 PST 2016


On Friday, 15 January 2016 at 15:06:00 UTC, Yazan D wrote:
> On Fri, 15 Jan 2016 13:20:18 +0000, deadalnix wrote:
>
>> 
>> Well I don't, both on OSX and linux, using the latest release. 
>> On linux I can do the addr2line dance, but on OSX I can't even 
>> do that as it require information that are gone once the 
>> program terminate.
>
>
> Are you compiling with debug symbols on (-g)? You should get 
> stacktraces on linux.

Yes, with function mangled names and symbol instruction's 
address. And only if I link with -export-dynamic , which is 
disabled by default on ld (and, really, shouldn't be necessary).


More information about the Digitalmars-d mailing list