[Vm-dev] [Pharo-users] macOS VM builds with AddressSanitizer/LeakSanitizer

tim Rowledge tim at rowledge.org
Fri Jan 25 22:14:20 UTC 2019



> On 2019-01-25, at 12:58 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>> 
> Yes it is feasible.  The VM exits via the standard route (exit(3); see the Objective-C method ioExitWithErrorCode: in platforms/iOS//vm/Common/Classes/sqSqueakMainApplication.m).  So if a leak checker registers itself with ataxia its exit function will run.
> 
> that should read "with atexit" of course.  Thank you autocorrect.

I dunno; ataxia is not a bad description of the problem involved...

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Never do at  compile-time what you can put off till run-time




More information about the Vm-dev mailing list