www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - try/catch not working on ldc android (aarch64, x86, x86_64), but

reply Martin =?UTF-8?B?S3JvxI1law==?= <martin.krocek post.cz> writes:
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
Mar 06 2020
parent kinke <kinke gmx.net> writes:
Please file an LDC issue, the forum isn't suited for bug reports.
Mar 06 2020