try/catch not working on ldc android (aarch64, x86, x86_64), but working on android armv7

Martin Kroček martin.krocek at
Fri Mar 6 14:13:57 UTC 2020

I'm trying to write android native activity application, and it 
is very strange
try/catch works good with -mtriple=armv7-none-linux-androideabi, 
and GC also works good.

But not works at all with other antroid targets:

I think that problem in file 
ldc-src/runtime/druntime/src/rt/dwarfeh.d in function void 
_d_throw_exception(Throwable o)
in this function after calling auto r = 
variable r always equals _URC_END_OF_STACK

More information about the digitalmars-d-ldc mailing list