[Lldb-commits] [PATCH] D19480: Fix ARM attribute parsing for Android after rL267291

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 25 07:00:36 PDT 2016

tberghammer added a comment.

Both executables and shared libraries are containing ARM Attributes what contains the information about soft-float vs hard-float. I am not sure how accurate it is as in theory you can link together an object file compiled with soft float with a one compiled with hard float but most likely we can trust it to be good enough.

The problem is that currently this information is not stored in the llvm::Triple so if the Environment part of the Triple is set to Android then the information is lost. I can try to recover the data from the architecture flags but I am not convinced that it is always possible and considering that the same executable can contain soft-float and hard-float code on Android we have to treat them as compatible architectures at some point.


More information about the lldb-commits mailing list