Symbol registerMemoryErrorHandler not found when compiling with LDC
kinke
noone at nowhere.com
Mon Dec 17 21:00:44 UTC 2018
On Monday, 17 December 2018 at 15:10:13 UTC, Per Nordlöw wrote:
> With LDC I get
>
> base.d:908: error: undefined reference to
> '_D3etc5linux11memoryerror26registerMemoryErrorHandlerFZb'
https://github.com/ldc-developers/ldc/issues/1915
Arbitrary operations such as writing into some invalid address
potentially leading to thrown errors/exceptions doesn't fit into
the LLVM IR model for exception-handling IIRC; one can
catch/resume from calls to potentially throwing functions, but
not from arbitrary writes etc.
More information about the Digitalmars-d-learn
mailing list