[Lldb-commits] [lldb] r253657 - Use thumb instruction set for ldb-server on android arm

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 20 02:51:39 PST 2015


Author: tberghammer
Date: Fri Nov 20 04:51:39 2015
New Revision: 253657

URL: http://llvm.org/viewvc/llvm-project?rev=253657&view=rev
Log:
Use thumb instruction set for ldb-server on android arm

Differential revision: http://reviews.llvm.org/D14816

Modified:
    lldb/trunk/cmake/platforms/Android.cmake

Modified: lldb/trunk/cmake/platforms/Android.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/platforms/Android.cmake?rev=253657&r1=253656&r2=253657&view=diff
==============================================================================
--- lldb/trunk/cmake/platforms/Android.cmake (original)
+++ lldb/trunk/cmake/platforms/Android.cmake Fri Nov 20 04:51:39 2015
@@ -103,7 +103,7 @@ if( X86 )
 elseif( ANDROID_ABI STREQUAL "armeabi" )
  # 64 bit atomic operations used in c++ libraries require armv7-a instructions
  # armv5te and armv6 were tried but do not work.
- set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -march=armv7-a" )
+ set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -march=armv7-a -mthumb" )
  if( LLVM_BUILD_STATIC )
   # Temporary workaround for static linking with the latest API.
   set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -DANDROID_ARM_BUILD_STATIC" )




More information about the lldb-commits mailing list