Does -profile need the D runtime?

Robert M. Münch robert.muench at saphirion.com
Sat May 18 16:35:44 UTC 2019


I want to profile my windows app which has a WinMain(). One of the 
first statements in WinMain() within a try{} is:

Runtime.initialize();

But when I compile my app with -profile, it crashes on entry of 
WinMain(). Looks like this function is instrumented with code, that 
might need the D runtime. Is this the case?

Is there a way to flag specific functions as "don't profile"?

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list