| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
non-glibc ones.
llvm-svn: 69528
|
|
|
|
|
|
|
|
|
|
| |
functions in glibc header files that use FP Stack inline asm which the
backend can't deal with (PR879).
This "fixes" PR3970 for linux. Other affected systems should do similar
things. Maybe this should just go to the general i386/x86-64 sections?
llvm-svn: 69527
|
|
|
|
|
|
|
|
|
|
| |
- Patch by Shantonu Sen (with a minor tweak to split out
getDarwin{OSX,IPhoneOS}Defines)!
- <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for
-miphoneos-version-min
llvm-svn: 68815
|
|
|
|
| |
llvm-svn: 68589
|
|
|
|
| |
llvm-svn: 68582
|
|
|
|
|
|
| |
in C mode.
llvm-svn: 68520
|
|
|
|
|
|
|
|
|
|
|
| |
and are even set in C mode. As such, move them to Targets.cpp.
__OBJC_GC__ is also darwin specific, but seems reasonable to always
define it when in objc-gc mode.
This fixes rdar://6761450
llvm-svn: 68494
|
|
|
|
| |
llvm-svn: 68413
|
|
|
|
|
|
| |
string literals.
llvm-svn: 68363
|
|
|
|
|
|
|
|
|
|
|
| |
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)
- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring
llvm-svn: 68160
|
|
|
|
|
|
| |
by moving the general case to the generic x86-32 target.
llvm-svn: 68015
|
|
|
|
|
|
| |
- Patch by Ed Schoeten!
llvm-svn: 67527
|
|
|
|
|
|
|
|
| |
where
clang was defining "i386" even when in non-gnu mode.
llvm-svn: 67378
|
|
|
|
| |
llvm-svn: 67376
|
|
|
|
|
|
| |
can have language-specific defines.
llvm-svn: 67375
|
|
|
|
|
|
|
|
|
|
|
| |
and defining target-specific macros based on them (like __SSE3__ and
friends). After extensive discussion with Daniel, this work will need
driver support, which will translate things like -msse3 into a -mattr
feature. Until this work is done, the code in clang.cpp is disabled and
the X86TargetInfo ctor still defaults to SSE2. With these two things
changed, this code will work. PR3634
llvm-svn: 65966
|
|
|
|
|
|
|
| |
even though we still hard code sse2 for now. No support for 3dnow or sse4a,
but someone could add that if they desired.
llvm-svn: 65886
|
|
|
|
| |
llvm-svn: 65885
|
|
|
|
| |
llvm-svn: 65884
|
|
|
|
|
|
| |
constraints string. This will make it possible to support multi-character constraints. No functionality change (for now).
llvm-svn: 65696
|
|
|
|
| |
llvm-svn: 65414
|
|
|
|
|
|
|
| |
make sure objc2's nonfragile abi is enacted for Leopard too.
add -fobjc-gc-only flag to the image_info symbol.
llvm-svn: 65413
|
|
|
|
| |
llvm-svn: 65124
|
|
|
|
|
|
| |
to the LIBBUILTIN macro
llvm-svn: 64676
|
|
|
|
|
|
| |
like printf and malloc. Fixes PR3586
llvm-svn: 64566
|
|
|
|
| |
llvm-svn: 64557
|
|
|
|
| |
llvm-svn: 64553
|
|
|
|
|
|
|
|
|
|
| |
a target.
Make Preprocessor.cpp define a new __INTPTR_TYPE__ macro based on this.
On linux/32, set intptr_t to int, instead of long. This fixes PR3563.
llvm-svn: 64495
|
|
|
|
|
|
| |
abi for objective-c programs.
llvm-svn: 64386
|
|
|
|
| |
llvm-svn: 63849
|
|
|
|
| |
llvm-svn: 63846
|
|
|
|
| |
llvm-svn: 63191
|
|
|
|
| |
llvm-svn: 63085
|
|
|
|
| |
llvm-svn: 62923
|
|
|
|
| |
llvm-svn: 62439
|
|
|
|
|
|
|
|
| |
specific targets default them to on. Default blocks to on on 10.6 and later.
Add a -fblocks option that allows the user to override the target's default.
Use -fblocks in the various testcases that use blocks.
llvm-svn: 60563
|
|
|
|
|
|
| |
to specify their default language options.
llvm-svn: 60561
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the types for size_t and ptrdiff_t more accurate. I think all of these
are correct, but please compare the defines for __PTRDIFF_TYPE__ and
__SIZE_TYPE__ to gcc to double-check; this particularly applies to
those on BSD variants, since I'm not sure what they do here; I assume
here that they're the same as on Linux.
Fixes wchar_t to be "int", not "unsigned int" (which I think is
correct on everything but Windows).
Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an
somewhat strange choice because it normally gets promoted, and it's not
consistent with the choice for size_t.
llvm-svn: 58556
|
|
|
|
|
|
|
|
|
|
| |
etc more generic. For some targets, long may not be equal to pointer size. For
example: PIC16 has int as i16, ptr as i16 but long as i32.
Also fixed a few build warnings in assert() functions in CFRefCount.cpp,
CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp.
llvm-svn: 58501
|
|
|
|
|
|
|
|
| |
not the
darwin or AIX abis. This fixes PR2904.
llvm-svn: 58222
|
|
|
|
| |
llvm-svn: 57645
|
|
|
|
| |
llvm-svn: 57198
|
|
|
|
| |
llvm-svn: 57144
|
|
|
|
| |
llvm-svn: 57140
|
|
|
|
|
|
| |
target indep code.
llvm-svn: 57139
|
|
|
|
| |
llvm-svn: 57138
|
|
|
|
| |
llvm-svn: 57137
|
|
|
|
| |
llvm-svn: 57134
|
|
|
|
|
|
|
|
|
|
| |
target indep code.
Note that this changes functionality on PIC16: it defines __INT_MAX__
correctly for it, and it changes sizeof(long) to 16-bits (to match
the size of pointer).
llvm-svn: 57132
|
|
|
|
|
|
| |
integer size #defines over to the Preprocessor.
llvm-svn: 57130
|