| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
available.
llvm-svn: 175730
|
|
|
|
|
|
| |
Code review feedback for r175580 by Jordan Rose.
llvm-svn: 175729
|
|
|
|
| |
llvm-svn: 175621
|
|
|
|
|
|
| |
Code review feedback on r175580 from Jordan Rose.
llvm-svn: 175595
|
|
|
|
|
|
|
|
|
| |
This generalizes Optional to require less from the T type by using aligned
storage for backing & placement new/deleting the T into it when necessary.
Also includes unit tests.
llvm-svn: 175580
|
|
|
|
|
|
| |
unit test.
llvm-svn: 175538
|
|
|
|
|
|
|
|
|
|
| |
PR15138 was opened because of a segfault in the Bitcode writer.
The actual issue ended up being a bug in APInt where calls to
APInt::getActiveWords returns a bogus value when the APInt value
is 0. This patch fixes the problem by ensuring that getActiveWords
returns 1 for 0 valued APInts.
llvm-svn: 174641
|
|
|
|
|
|
| |
Thanks to Andrew, David, and Aaron for helping fix this.
llvm-svn: 174552
|
|
|
|
|
|
|
|
|
| |
This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830.
This unit test crashes on Darwon. It needs to be temporarily reverted
to unblock the test infrastructure.
llvm-svn: 174458
|
|
|
|
| |
llvm-svn: 174357
|
|
|
|
|
|
|
| |
reference to a pointer, so that it can handle the case where DataLayout
is not available and behave conservatively.
llvm-svn: 174024
|
|
|
|
|
|
|
| |
As a bonus I put in some extra checks to make sure that we are identifying the
machine word of various Mac OS X/iOS targets appropriately.
llvm-svn: 173994
|
|
|
|
|
|
| |
object emitted by MCJIT.
llvm-svn: 173712
|
|
|
|
| |
llvm-svn: 173608
|
|
|
|
| |
llvm-svn: 173513
|
|
|
|
| |
llvm-svn: 173505
|
|
|
|
|
|
|
|
| |
smaller type.
Fixes PR15054.
llvm-svn: 173459
|
|
|
|
|
|
|
|
|
| |
pthread_attr_setstack(3) only on Linux.
I got blamed on darwin11;
unittests/Support/ManagedStatic.cpp:35: error: 'pthread_attr_setstack' was not declared in this scope
llvm-svn: 173355
|
|
|
|
|
|
| |
allocate stack explicitly for glibc.
llvm-svn: 173350
|
|
|
|
| |
llvm-svn: 173240
|
|
|
|
| |
llvm-svn: 173239
|
|
|
|
|
|
| |
linked.
llvm-svn: 173238
|
|
|
|
|
|
| |
It fixes --vg-leak.
llvm-svn: 173237
|
|
|
|
|
|
| |
immediately if it is not linked.
llvm-svn: 173236
|
|
|
|
| |
llvm-svn: 173235
|
|
|
|
| |
llvm-svn: 173234
|
|
|
|
| |
llvm-svn: 173233
|
|
|
|
|
|
|
|
| |
ErrorOr<void> represents an operation that returns nothing, but can still fail.
It should be used in cases where you need the aditional user data that ErrorOr
provides over error_code.
llvm-svn: 173209
|
|
|
|
|
|
| |
[-Wsign-compare]
llvm-svn: 173144
|
|
|
|
|
|
| |
stage2. [-Wsign-compare]
llvm-svn: 173127
|
|
|
|
|
|
| |
available.
llvm-svn: 173123
|
|
|
|
|
|
|
|
| |
scheduler to use it.
A SparseMultiSet adds multiset behavior to SparseSet, while retaining SparseSet's desirable properties. Essentially, SparseMultiSet provides multiset behavior by storing its dense data in doubly linked lists that are inlined into the dense vector. This allows it to provide good data locality as well as vector-like constant-time clear() and fast constant time find(), insert(), and erase(). It also allows SparseMultiSet to have a builtin recycler rather than keeping SparseSet's behavior of always swapping upon removal, which allows it to preserve more iterators. It's often a better alternative to a SparseSet of a growable container or vector-of-vector.
llvm-svn: 173064
|
|
|
|
| |
llvm-svn: 173004
|
|
|
|
|
|
| |
Michael, can this test be ported to C++03?
llvm-svn: 172996
|
|
|
|
| |
llvm-svn: 172991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In r143502, we renamed getHostTriple() to getDefaultTargetTriple()
as part of work to allow the user to supply a different default
target triple at configure time. This change also affected the JIT.
However, it is inappropriate to use the default target triple in the
JIT in most circumstances because this will not necessarily match
the current architecture used by the process, leading to illegal
instruction and other such errors at run time.
Introduce the getProcessTriple() function for use in the JIT and
its clients, and cause the JIT to use it. On architectures with a
single bitness, the host and process triples are identical. On other
architectures, the host triple represents the architecture of the
host CPU, while the process triple represents the architecture used
by the host CPU to interpret machine code within the current process.
For example, when executing 32-bit code on a 64-bit Linux machine,
the host triple may be 'x86_64-unknown-linux-gnu', while the process
triple may be 'i386-unknown-linux-gnu'.
This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple
platforms.
Differential Revision: http://llvm-reviews.chandlerc.com/D254
llvm-svn: 172627
|
|
|
|
| |
llvm-svn: 172615
|
|
|
|
| |
llvm-svn: 172614
|
|
|
|
| |
llvm-svn: 172474
|
|
|
|
|
|
| |
Use const_cast<> to avoid cast-away-const errors.
llvm-svn: 172464
|
|
|
|
|
|
|
|
| |
break again.
The folding set details can be subtle and broke twice in the last couple of weeks.
llvm-svn: 172313
|
|
|
|
|
|
| |
Patch by Michael Muller.
llvm-svn: 172214
|
|
|
|
| |
llvm-svn: 172108
|
|
|
|
| |
llvm-svn: 172107
|
|
|
|
| |
llvm-svn: 172105
|
|
|
|
|
|
|
| |
Use memcpy to do type punning instead of a cast. A cast or similar
operation through a union breaks strict aliasing rules.
llvm-svn: 172081
|
|
|
|
| |
llvm-svn: 171764
|
|
|
|
|
|
| |
library rename.
llvm-svn: 171747
|
|
|
|
|
|
| |
implementation lives already.
llvm-svn: 171746
|
|
|
|
|
|
|
| |
Fixes the CMake build. It took me cutting and pasting this before
I managed to see the missing character. =]
llvm-svn: 171589
|