[Issue 971] New: No profiling output is generated if the application terminates with exit
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 16 13:36:34 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=971
Summary: No profiling output is generated if the application
terminates with exit
Product: D
Version: 1.005
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: david at ferenczi.net
test1.d :
--------------8<-----------------------------------
int main(char[][] args)
{
return 0;
}
--------------8<-----------------------------------
test2.d:
--------------8<-----------------------------------
static private import std.c.stdlib: exit;
int main(char[][] args)
{
exit(0);
return 0;
}
--------------8<-----------------------------------
dmd test1.d -profile
./test1
--> trace.def and trace.log are generated
dmd test1.d -profile
./test2
--> no output generated
--
More information about the Digitalmars-d-bugs
mailing list