| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Windows does not honour the __attribute__((pcs)) on ARM. Although this will
result in ABI mismatches, compiler-rt should largely be unneeded for resolving
dependencies as we generate MS ABI compliant library calls now for the most
part.
llvm-svn: 266891
|
|
|
|
| |
llvm-svn: 256256
|
|
|
|
|
|
|
|
|
| |
Add an implementation for __builtin_clzll on MSVC even when _BitScanForward4 is
unavailable.
Patch by Tee Hao Wei!
llvm-svn: 250359
|
|
|
|
|
|
| |
Abstract out the always inline spelling similar to ASAN. NFC.
llvm-svn: 249986
|
|
|
|
|
|
| |
_BitReverse64 is only available on ARM and x64. Guard it accordingly.
llvm-svn: 249949
|
|
|
|
|
|
|
|
|
| |
cl does not support the same intrinsics as clang. Provide implementations for
the intrinsics using MSVC builtins.
Patch by Tee Hao Wei!
llvm-svn: 249515
|
|
|
|
|
|
|
|
| |
This allows us to build the builtins using MSVC. NFC.
Patch by Tee Hao Wei!
llvm-svn: 249375
|
|
|
|
|
|
|
|
| |
MachO and COFF do not support aliases. Restrict the alias to ELF targets. This
should also fix the Darwin build. Make the FNALIAS usage an error on non-ELF
targets.
llvm-svn: 245669
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: compnerd
Subscribers: asl, llvm-commits
Differential Revision: http://reviews.llvm.org/D12091
llvm-svn: 245663
|
|
|
|
|
|
|
|
| |
Windows does not use AAPCS, but rather AAPCS-VFP, and thus the functions which
are assumed to be AAPCS will cause invalid argument setup. Ensure that the
functions are marked as AAPCS.
llvm-svn: 238056
|
|
|
|
|
|
|
| |
This macro did not do anything at this point, and is not particularly needed for
Windows unless building the builtins as a shared library. NFC.
llvm-svn: 217321
|
|
|
|
|
|
|
|
| |
Add (missing) definition of COMPILER_RT_EXPORT which is meant to be used for
decorating functions that are meant to be exported. This is useful for
platforms where exports and imports must be decorated explicitly (i.e. Windows).
llvm-svn: 208593
|
|
|
|
| |
llvm-svn: 202593
|
|
|
|
|
|
| |
Move prototypes into headers and fix a few inconsistencies.
llvm-svn: 202591
|
|
directory
llvm-svn: 201393
|