[Lldb-commits] [PATCH] D14816: 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:54:32 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL253657: Use thumb instruction set for ldb-server on android arm (authored by tberghammer).

Changed prior to commit:
  http://reviews.llvm.org/D14816?vs=40635&id=40756#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14816

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

Index: lldb/trunk/cmake/platforms/Android.cmake
===================================================================
--- lldb/trunk/cmake/platforms/Android.cmake
+++ lldb/trunk/cmake/platforms/Android.cmake
@@ -103,7 +103,7 @@
 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" )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14816.40756.patch
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151120/5b2929dd/attachment.bin>


More information about the lldb-commits mailing list