| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
been running into it.
llvm-svn: 130296
|
| |
|
|
|
|
| |
can't be represented in the environment define.
llvm-svn: 129939
|
| |
|
|
|
|
| |
architectures for triples, e.g. ptx32-unknown-unknown
llvm-svn: 129870
|
| |
|
|
| |
llvm-svn: 129835
|
| |
|
|
| |
llvm-svn: 129834
|
| |
|
|
| |
llvm-svn: 129823
|
| |
|
|
| |
llvm-svn: 129820
|
| |
|
|
|
|
|
|
| |
Also, fold the sse4 and sse4.1 cases together.
Patch by Alexander Best!
llvm-svn: 129665
|
| |
|
|
| |
llvm-svn: 128923
|
| |
|
|
| |
llvm-svn: 128850
|
| |
|
|
|
|
|
|
|
| |
Sandeep Patel noticed that the alignment was wrong for Neon vector types,
and this change is partly derived from his patch. For the APCS ABI, however,
additional changes were required: the maximum ABI alignment is 32 bits and
the preferred alignment for i64 and f64 types should be 64 bits.
llvm-svn: 128825
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which versions of an OS provide a certain facility. For example,
void foo()
__attribute__((availability(macosx,introduced=10.2,deprecated=10.4,obsoleted=10.6)));
says that the function "foo" was introduced in 10.2, deprecated in
10.4, and completely obsoleted in 10.6. This attribute ties in with
the deployment targets (e.g., -mmacosx-version-min=10.1 specifies that
we want to deploy back to Mac OS X 10.1). There are several concrete
behaviors that this attribute enables, as illustrated with the
function foo() above:
- If we choose a deployment target >= Mac OS X 10.4, uses of "foo"
will result in a deprecation warning, as if we had placed
attribute((deprecated)) on it (but with a better diagnostic)
- If we choose a deployment target >= Mac OS X 10.6, uses of "foo"
will result in an "unavailable" warning (in C)/error (in C++), as
if we had placed attribute((unavailable)) on it
- If we choose a deployment target prior to 10.2, foo() is
weak-imported (if it is a kind of entity that can be weak
imported), as if we had placed the weak_import attribute on it.
Naturally, there can be multiple availability attributes on a
declaration, for different platforms; only the current platform
matters when checking availability attributes.
The only platforms this attribute currently works for are "ios" and
"macosx", since we already have -mxxxx-version-min flags for them and we
have experience there with macro tricks translating down to the
deprecated/unavailable/weak_import attributes. The end goal is to open
this up to other platforms, and even extension to other "platforms"
that are really libraries (say, through a #pragma clang
define_system), but that hasn't yet been designed and we may want to
shake out more issues with this narrower problem first.
Addresses <rdar://problem/6690412>.
As a drive-by bug-fix, if an entity is both deprecated and
unavailable, we only emit the "unavailable" diagnostic.
llvm-svn: 128127
|
| |
|
|
|
|
| |
both 32-bit and 64-bit targets.
llvm-svn: 128110
|
| |
|
|
| |
llvm-svn: 128029
|
| |
|
|
| |
llvm-svn: 127942
|
| |
|
|
|
|
|
|
| |
macro, alias of __attribute__.
On mingw without -fms-extensions, we can provide "as-is" __declspec.
llvm-svn: 127655
|
| |
|
|
| |
llvm-svn: 127238
|
| |
|
|
| |
llvm-svn: 126152
|
| |
|
|
| |
llvm-svn: 126060
|
| |
|
|
| |
llvm-svn: 126050
|
| |
|
|
|
|
| |
TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided.
llvm-svn: 125833
|
| |
|
|
| |
llvm-svn: 125819
|
| |
|
|
|
|
| |
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
|
| |
|
|
| |
llvm-svn: 125282
|
| |
|
|
| |
llvm-svn: 124660
|
| |
|
|
| |
llvm-svn: 123691
|
| |
|
|
|
|
| |
It should be defined as-is. Some headers would detect existence of __declspec and use one.
llvm-svn: 123690
|
| |
|
|
| |
llvm-svn: 123689
|
| |
|
|
| |
llvm-svn: 123320
|
| |
|
|
|
|
| |
Patch by Sylvère Teissier.
llvm-svn: 122965
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the width and align of bool type on Darwin to be 32bits
while keeping it 8 everywhere else.
Change the definition of va_list to default to SV4 ABI one
and let darwin subtarget override this.
Both changes submitted by Nathan Whitehorn and reviewed
by Rafael Espindola.
llvm-svn: 122956
|
| |
|
|
| |
llvm-svn: 122629
|
| |
|
|
| |
llvm-svn: 121640
|
| |
|
|
|
|
|
|
|
| |
a specific language. We are adding such language info. by
extensing Builtins.def and via a language flag added
to LIBBUILTIN/BUILTIN and check for that when deciding
a name is builtin or not. Implements //rdar://8689273.
llvm-svn: 120429
|
| |
|
|
| |
llvm-svn: 118514
|
| |
|
|
|
|
|
| |
Set Haiku's UserLabelPrefix to "".
Patch by Paul Davey.
llvm-svn: 118510
|
| |
|
|
| |
llvm-svn: 117743
|
| |
|
|
|
|
|
|
|
| |
in asm's. PR 8501, 8602988.
I don't like including Type.h where it is; the idea was
to get references to X86_MMXTy out of the common code.
Maybe there's a better way?
llvm-svn: 117736
|
| |
|
|
| |
llvm-svn: 117517
|
| |
|
|
|
|
| |
No aliasing is needed, these work as given in the BE.
llvm-svn: 117508
|
| |
|
|
| |
llvm-svn: 117149
|
| |
|
|
| |
llvm-svn: 117026
|
| |
|
|
| |
llvm-svn: 117005
|
| |
|
|
| |
llvm-svn: 117003
|
| |
|
|
|
|
|
|
|
|
| |
This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.
-fmsc-version=<version> (defaults to VS2003 (1300))
llvm-svn: 116999
|
| |
|
|
| |
llvm-svn: 116990
|
| |
|
|
|
|
| |
Didn't realize this was on my branch ;/.
llvm-svn: 116989
|
| |
|
|
| |
llvm-svn: 116988
|
| |
|
|
| |
llvm-svn: 116700
|
| |
|
|
| |
llvm-svn: 116699
|