summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/macho_embedded
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-09-29 23:13:45 +0000
committerChris Bieneman <beanz@apple.com>2015-09-29 23:13:45 +0000
commit6e18e1e39e11c64c4e23e0045f0e9fe9fc6e5108 (patch)
treed01c099b9d77afa49f6984220c686b0255f02ed0 /compiler-rt/lib/builtins/macho_embedded
parent85bbe0c46bd195e882383ff261d8f3776e256463 (diff)
downloadbcm5719-llvm-6e18e1e39e11c64c4e23e0045f0e9fe9fc6e5108.tar.gz
bcm5719-llvm-6e18e1e39e11c64c4e23e0045f0e9fe9fc6e5108.zip
[CMake] [Darwin] Support building the macho_embedded builtin libraries.
Summary: This ports functionality from the clang_macho_embedded.mk platform makefile over to CMake. Reviewers: bogner, samsonov, bob.wilson Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13226 llvm-svn: 248850
Diffstat (limited to 'compiler-rt/lib/builtins/macho_embedded')
-rw-r--r--compiler-rt/lib/builtins/macho_embedded/arm.txt18
-rw-r--r--compiler-rt/lib/builtins/macho_embedded/common.txt93
-rw-r--r--compiler-rt/lib/builtins/macho_embedded/i386.txt7
-rw-r--r--compiler-rt/lib/builtins/macho_embedded/thumb2.txt24
4 files changed, 142 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/macho_embedded/arm.txt b/compiler-rt/lib/builtins/macho_embedded/arm.txt
new file mode 100644
index 00000000000..f66fef5ea4a
--- /dev/null
+++ b/compiler-rt/lib/builtins/macho_embedded/arm.txt
@@ -0,0 +1,18 @@
+aeabi_cdcmpeq
+aeabi_cdrcmple
+aeabi_cfcmpeq
+aeabi_cfrcmple
+aeabi_dcmpeq
+aeabi_dcmpge
+aeabi_dcmpgt
+aeabi_dcmple
+aeabi_dcmplt
+aeabi_drsub
+aeabi_fcmpeq
+aeabi_fcmpge
+aeabi_fcmpgt
+aeabi_fcmple
+aeabi_fcmplt
+aeabi_frsub
+aeabi_idivmod
+aeabi_uidivmod
diff --git a/compiler-rt/lib/builtins/macho_embedded/common.txt b/compiler-rt/lib/builtins/macho_embedded/common.txt
new file mode 100644
index 00000000000..687accf4bf8
--- /dev/null
+++ b/compiler-rt/lib/builtins/macho_embedded/common.txt
@@ -0,0 +1,93 @@
+absvdi2
+absvsi2
+addvdi3
+addvsi3
+ashldi3
+ashrdi3
+bswapdi2
+bswapsi2
+clzdi2
+clzsi2
+cmpdi2
+ctzdi2
+ctzsi2
+divdc3
+divdi3
+divsc3
+divmodsi4
+udivmodsi4
+do_global_dtors
+ffsdi2
+fixdfdi
+fixsfdi
+fixunsdfdi
+fixunsdfsi
+fixunssfdi
+fixunssfsi
+floatdidf
+floatdisf
+floatundidf
+floatundisf
+gcc_bcmp
+lshrdi3
+moddi3
+muldc3
+muldi3
+mulsc3
+mulvdi3
+mulvsi3
+negdi2
+negvdi2
+negvsi2
+paritydi2
+paritysi2
+popcountdi2
+popcountsi2
+powidf2
+powisf2
+subvdi3
+subvsi3
+ucmpdi2
+udiv_w_sdiv
+udivdi3
+udivmoddi4
+umoddi3
+adddf3
+addsf3
+cmpdf2
+cmpsf2
+div0
+divdf3
+divsf3
+divsi3
+extendsfdf2
+extendhfsf2
+ffssi2
+fixdfsi
+fixsfsi
+floatsidf
+floatsisf
+floatunsidf
+floatunsisf
+comparedf2
+comparesf2
+modsi3
+muldf3
+mulsf3
+negdf2
+negsf2
+subdf3
+subsf3
+truncdfhf2
+truncdfsf2
+truncsfhf2
+udivsi3
+umodsi3
+unorddf2
+unordsf2
+atomic_flag_clear
+atomic_flag_clear_explicit
+atomic_flag_test_and_set
+atomic_flag_test_and_set_explicit
+atomic_signal_fence
+atomic_thread_fence
diff --git a/compiler-rt/lib/builtins/macho_embedded/i386.txt b/compiler-rt/lib/builtins/macho_embedded/i386.txt
new file mode 100644
index 00000000000..b92e44bb35a
--- /dev/null
+++ b/compiler-rt/lib/builtins/macho_embedded/i386.txt
@@ -0,0 +1,7 @@
+i686.get_pc_thunk.eax
+i686.get_pc_thunk.ebp
+i686.get_pc_thunk.ebx
+i686.get_pc_thunk.ecx
+i686.get_pc_thunk.edi
+i686.get_pc_thunk.edx
+i686.get_pc_thunk.esi
diff --git a/compiler-rt/lib/builtins/macho_embedded/thumb2.txt b/compiler-rt/lib/builtins/macho_embedded/thumb2.txt
new file mode 100644
index 00000000000..9c19d7ceba4
--- /dev/null
+++ b/compiler-rt/lib/builtins/macho_embedded/thumb2.txt
@@ -0,0 +1,24 @@
+switch16
+switch32
+switch8
+switchu8
+sync_fetch_and_add_4
+sync_fetch_and_sub_4
+sync_fetch_and_and_4
+sync_fetch_and_or_4
+sync_fetch_and_xor_4
+sync_fetch_and_nand_4
+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
OpenPOWER on IntegriCloud