[compiler-rt] r249084 - [CMake] [builtins] [macho_embedded] Separate out the 64-bit thumb builtins so they don't get included on 'm' architectures. NFC.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 15:01:07 PDT 2015


Author: cbieneman
Date: Thu Oct  1 17:01:06 2015
New Revision: 249084

URL: http://llvm.org/viewvc/llvm-project?rev=249084&view=rev
Log:
[CMake] [builtins] [macho_embedded] Separate out the 64-bit thumb builtins so they don't get included on 'm' architectures. NFC.

This should help make the compiler-rt build less noisy.

Added:
    compiler-rt/trunk/lib/builtins/macho_embedded/thumb2-64.txt
Modified:
    compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
    compiler-rt/trunk/lib/builtins/macho_embedded/thumb2.txt

Modified: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake?rev=249084&r1=249083&r2=249084&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Thu Oct  1 17:01:06 2015
@@ -349,6 +349,7 @@ function(darwin_add_embedded_builtin_lib
 
   darwin_read_list_from_file(common_FUNCTIONS ${MACHO_SYM_DIR}/common.txt)
   darwin_read_list_from_file(thumb2_FUNCTIONS ${MACHO_SYM_DIR}/thumb2.txt)
+  darwin_read_list_from_file(thumb2_64_FUNCTIONS ${MACHO_SYM_DIR}/thumb2-64.txt)
   darwin_read_list_from_file(arm_FUNCTIONS ${MACHO_SYM_DIR}/arm.txt)
   darwin_read_list_from_file(i386_FUNCTIONS ${MACHO_SYM_DIR}/i386.txt)
 
@@ -356,7 +357,7 @@ function(darwin_add_embedded_builtin_lib
   set(armv6m_FUNCTIONS ${common_FUNCTIONS} ${arm_FUNCTIONS})
   set(armv7m_FUNCTIONS ${common_FUNCTIONS} ${arm_FUNCTIONS} ${thumb2_FUNCTIONS})
   set(armv7em_FUNCTIONS ${common_FUNCTIONS} ${arm_FUNCTIONS} ${thumb2_FUNCTIONS})
-  set(armv7_FUNCTIONS ${common_FUNCTIONS} ${arm_FUNCTIONS} ${thumb2_FUNCTIONS})
+  set(armv7_FUNCTIONS ${common_FUNCTIONS} ${arm_FUNCTIONS} ${thumb2_FUNCTIONS} ${thumb2_64_FUNCTIONS})
   set(i386_FUNCTIONS ${common_FUNCTIONS} ${i386_FUNCTIONS})
   set(x86_64_FUNCTIONS ${common_FUNCTIONS})
 

Added: compiler-rt/trunk/lib/builtins/macho_embedded/thumb2-64.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/macho_embedded/thumb2-64.txt?rev=249084&view=auto
==============================================================================
--- compiler-rt/trunk/lib/builtins/macho_embedded/thumb2-64.txt (added)
+++ compiler-rt/trunk/lib/builtins/macho_embedded/thumb2-64.txt Thu Oct  1 17:01:06 2015
@@ -0,0 +1,10 @@
+sync_fetch_and_add_8
+sync_fetch_and_sub_8
+sync_fetch_and_and_8
+sync_fetch_and_or_8
+sync_fetch_and_xor_8
+sync_fetch_and_nand_8
+sync_fetch_and_max_8
+sync_fetch_and_umax_8
+sync_fetch_and_min_8
+sync_fetch_and_umin_8

Modified: compiler-rt/trunk/lib/builtins/macho_embedded/thumb2.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/macho_embedded/thumb2.txt?rev=249084&r1=249083&r2=249084&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/macho_embedded/thumb2.txt (original)
+++ compiler-rt/trunk/lib/builtins/macho_embedded/thumb2.txt Thu Oct  1 17:01:06 2015
@@ -12,13 +12,3 @@ sync_fetch_and_max_4
 sync_fetch_and_umax_4
 sync_fetch_and_min_4
 sync_fetch_and_umin_4
-sync_fetch_and_add_8
-sync_fetch_and_sub_8
-sync_fetch_and_and_8
-sync_fetch_and_or_8
-sync_fetch_and_xor_8
-sync_fetch_and_nand_8
-sync_fetch_and_max_8
-sync_fetch_and_umax_8
-sync_fetch_and_min_8
-sync_fetch_and_umin_8




More information about the llvm-commits mailing list