mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
clang/Darwin: Include divsi3 functions on x86, they are used by the divmod
implementation. llvm-svn: 131034
This commit is contained in:
@@ -68,6 +68,11 @@ FUNCTIONS.eprintf := eprintf
|
||||
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
|
||||
|
||||
FUNCTIONS.ios := divmodsi4 udivmodsi4
|
||||
# On x86, the divmod functions reference divsi.
|
||||
FUNCTIONS.ios.i386 := $(FUNCTIONS.ios) \
|
||||
divsi3 udivsi3
|
||||
FUNCTIONS.ios.x86_64 := $(FUNCTIONS.ios) \
|
||||
divsi3 udivsi3
|
||||
FUNCTIONS.ios.armv6 := $(FUNCTIONS.ios) \
|
||||
sync_synchronize \
|
||||
switch16 switch32 switch8 switchu8 \
|
||||
|
||||
Reference in New Issue
Block a user