tberghammer added a comment.

In http://reviews.llvm.org/D14816#292929, @omjavaid wrote:

> -mthumb will force T32 instruction set while -marm will force A32.
>
> Best is not to use any of these flags to let the compiler decide best
>  possible instruction set combination.


I think because we specify -march=armv7-a to have the necessary 64 bit atomic 
instructions the compiler decide to use arm in every case. Forcing the 
instruction set to thumb reduces the size of the final release binary by ~30% 
while have negligible run time speed impact so it will help us speed up the 
iteration cycle (smaller lldb-server means we have to copy less data between 
host and target).


http://reviews.llvm.org/D14816



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to