[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.

llvm-svn: 249084
This commit is contained in:
Chris Bieneman 2015-10-01 22:01:06 +00:00
parent f070688ecf
commit f0672f1187
3 changed files with 12 additions and 11 deletions

View File

@ -349,6 +349,7 @@ function(darwin_add_embedded_builtin_libraries)
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_libraries)
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})

View File

@ -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

View File

@ -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