| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
when generating a common definition.
llvm-svn: 69287
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- PR3980.
- <rdar://problem/6762287> [irgen] crash when generating tentative
definition of incomplete structure
- This also avoids creating common definitions for things which are
later overwritten.
- XFAIL'ed external-defs.c, it isn't completing types properly yet.
llvm-svn: 69231
|
| |
|
|
| |
llvm-svn: 69228
|
| |
|
|
|
|
| |
b) test dramatically faster.
llvm-svn: 69135
|
| |
|
|
|
|
|
|
| |
C99 mode. This is a regression from an earlier patch of mine.
This also simplifies the linkage enums a bit.
llvm-svn: 69069
|
| |
|
|
|
|
|
|
| |
pulling some attribute munging stuff into GetLinkageForFunction.
This should fix PR3986
llvm-svn: 69045
|
| |
|
|
|
|
| |
not in c89 mode).
llvm-svn: 69032
|
| |
|
|
| |
llvm-svn: 69030
|
| |
|
|
|
|
| |
This was exposed as a result of something else that was recently fixed.
llvm-svn: 69004
|
| |
|
|
|
|
|
|
| |
== conversionOK && "UTF-8 to UTF-16 conversion failed"), function GetAddrOfConstantCFString, file CodeGenModule.cpp, line 1063.
Still a diagnostic related FIXME (will discuss with Daniel/Fariborz offline).
llvm-svn: 68975
|
| |
|
|
| |
llvm-svn: 68878
|
| |
|
|
| |
llvm-svn: 68865
|
| |
|
|
| |
llvm-svn: 68833
|
| |
|
|
|
|
|
|
| |
their emission was deferred.
- <rdar://problem/6775234> variables with internal linkage should not
be exposed with -fvisibility=hidden.
llvm-svn: 68818
|
| |
|
|
|
|
| |
blocks, so that the outer blocks use it as well. Radar 6762279
llvm-svn: 68811
|
| |
|
|
|
|
| |
- PR3964.
llvm-svn: 68710
|
| |
|
|
| |
llvm-svn: 68583
|
| |
|
|
| |
llvm-svn: 68561
|
| |
|
|
|
|
| |
functions. Fixes PR3941.
llvm-svn: 68541
|
| |
|
|
|
|
|
|
| |
__sync_bool_compare_and_swap.
- <rdar://problem/6762223> [sema/irgen] support
__sync_bool_compare_and_swap and __sync_add_and_fetch
llvm-svn: 68482
|
| |
|
|
| |
llvm-svn: 68415
|
| |
|
|
|
|
| |
operand. This matches llvm-gcc and fixes PR3908.
llvm-svn: 68371
|
| |
|
|
| |
llvm-svn: 68369
|
| |
|
|
|
|
| |
string literals.
llvm-svn: 68363
|
| |
|
|
| |
llvm-svn: 68330
|
| |
|
|
| |
llvm-svn: 68270
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Small structures are returned in a register if:
1. They fit nicely in a register.
2. All fields fit nicely in a register.
(more or less)
- We now pass the first 5000 ABITests if unions are disabled.
- <rdar://problem/6497882> [irgen] x86-32 ABI compatibility with
small structs
llvm-svn: 68197
|
| |
|
|
|
|
|
|
|
|
| |
element structures", which have different ABI rules.
- Current return-arguments-32 status is: 1 out of 1000 failures (-7)
- Also, vectors inside "single element structs" require special
handling.
llvm-svn: 68196
|
| |
|
|
|
|
| |
- Current return-arguments-32 status is: 8 out of 1000 failures (-7)
llvm-svn: 68192
|
| |
|
|
|
|
|
|
|
| |
- <rdar://problem/6732143> Crash when generating @synchronize for
zero-cost exception
- Thanks to Anders for helping track down the problem.
llvm-svn: 68186
|
| |
|
|
| |
llvm-svn: 68181
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
that occurs when
attribute(used) and asm renaming are used together.
llvm-svn: 68155
|
| |
|
|
|
|
| |
- Current return-arguments-32 status: 15/1000 failures
llvm-svn: 68132
|
| |
|
|
|
|
|
| |
disable this feature for now, to err on the side of rejecting instead
of sometimes crashing. rdar://6326239
llvm-svn: 68088
|
| |
|
|
|
|
| |
types don't get generated when blocks aren't used.
llvm-svn: 67898
|
| |
|
|
| |
llvm-svn: 67897
|
| |
|
|
| |
llvm-svn: 67895
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LHS type and the computation result type; this encodes information into
the AST which is otherwise non-obvious. Fix Sema to always come up with the
right answer for both of these types. Fix IRGen and the analyzer to
account for these changes. This fixes PR2601. The approach is inspired
by PR2601 comment 2.
Note that this changes real *= complex in CodeGen from a silent
miscompilation to an explicit error.
I'm not really sure that the analyzer changes are correct, or how to
test them... someone more familiar with the analyzer should check those
changes.
llvm-svn: 67889
|
| |
|
|
|
|
| |
GNU-style array designators, causing us to emit broken initializers.
llvm-svn: 67878
|
| |
|
|
|
|
| |
- <rdar://problem/6710978> ccc/clang-driver ignore -fno-common
llvm-svn: 67762
|
| |
|
|
|
|
| |
is of type void*. I'll try to add the appropriate checking later.
llvm-svn: 67721
|
| |
|
|
| |
llvm-svn: 67697
|
| |
|
|
|
|
| |
from previous block literals.
llvm-svn: 67696
|
| |
|
|
| |
llvm-svn: 67603
|
| |
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
| |
|
|
| |
llvm-svn: 67601
|
| |
|
|
| |
llvm-svn: 67592
|
| |
|
|
| |
llvm-svn: 67499
|
| |
|
|
|
|
|
|
| |
functionality, fixing a crash on the attached testcase. Eliminate the
BuiltinFunctions cache, as it can contain dangling pointers. This fixes
a bunch of valgrind errors on test/CodeGen/builtins.c
llvm-svn: 67484
|