try/catch not working on ldc android (aarch64, x86, x86_64), but working on android armv7
Martin Kroček
martin.krocek at post.cz
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:
-mtriple=aarch64-none-linux-android
-mtriple=i686-none-linux-android
-mtriple=x86_64-none-linux-android
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 =
_Unwind_RaiseException(&eh.exception_object);
variable r always equals _URC_END_OF_STACK
More information about the digitalmars-d-ldc
mailing list