Use thumb instruction set for ldb-server on android arm
This change reduce the size of the lldb-server binary on android-arm from a release build by ~5MB
Differential D14816
Use thumb instruction set for ldb-server on android arm tberghammer on Nov 19 2015, 5:53 AM. Authored by
Details Use thumb instruction set for ldb-server on android arm This change reduce the size of the lldb-server binary on android-arm from a release build by ~5MB
Diff Detail
Event TimelineComment Actions -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 Comment Actions 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). |