| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Objective-C type in the runtime. This is not actually
true, it's entirely possible to say
@class DoesntExist;
@interface DoesExist {
DoesntExist *whyyyyy;
}
@end
and this code will not only compile but also run. So
this assertion will fire in situations users might
encounter.
I left the assertion enabled in debug mode, because we
could still catch a case we're not aware of (i.e., a
class that we *ought* to have found but where somehow
we mis-parsed the name).
<rdar://problem/19151914>
llvm-svn: 224038
|
| |
|
|
| |
llvm-svn: 224037
|
| |
|
|
| |
llvm-svn: 224036
|
| |
|
|
|
|
|
|
|
|
|
| |
The distinction is mostly useful in the front-end. By the time we get here,
there are very few situations where we actually want different behaviour for
Darwin and IOS (in fact Darwin mostly just exists in a few tests). So this
should reduce any surprising weirdness for anyone using it.
No functional change on anything anyone actually cares about.
llvm-svn: 224035
|
| |
|
|
|
|
|
| |
Instead, rely on the fact that RAW_CHECK doesn't call mmap(),
and we'll be able to print an error message and kill a program.
llvm-svn: 224034
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PPCISelDAGToDAG contained existing code to lower i32 sdiv by a power-of-2 using
srawi/addze, but did not implement the i64 case. DAGCombine now contains a
callback specifically designed for this purpose (BuildSDIVPow2), and part of
the logic has been moved to an implementation of that callback. Doing this
lowering using BuildSDIVPow2 likely does not matter, compared to handling
everything in PPCISelDAGToDAG, for the positive divisor case, but the negative
divisor case, which generates an additional negation, can potentially benefit
from additional folding from DAGCombine. Now, both the i32 and the i64 cases
have been implemented.
Fixes PR20732.
llvm-svn: 224033
|
| |
|
|
|
|
| |
This lets us skip them as UNSUPPORTED on slow systems like QEMU
llvm-svn: 224032
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
- Make sure mmap() is never called inside RawWrite function.
- Wrap a bunch of standalone globals in a ReportFile object.
- Make sure accesses to these globals are thread-safe.
- Fix report_path functionality on Windows, where
__sanitizer_set_report_path() would break program.
I've started this yak shaving in order to make
"CommonFlags::mmap_limit_mb" immutable. Currently we drop this flag
to zero before printing an error message.
Test Plan: regression test suite
Reviewers: kcc, glider
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6595
llvm-svn: 224031
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6504
llvm-svn: 224030
|
| |
|
|
| |
llvm-svn: 224029
|
| |
|
|
| |
llvm-svn: 224028
|
| |
|
|
| |
llvm-svn: 224027
|
| |
|
|
| |
llvm-svn: 224026
|
| |
|
|
|
|
|
| |
This cuts down the number on system calls done by a static llvm-ar producing
lib/libclangSema.a from 9164 to 442.
llvm-svn: 224025
|
| |
|
|
| |
llvm-svn: 224024
|
| |
|
|
|
|
| |
GetRSS is used in Go build.
llvm-svn: 224023
|
| |
|
|
|
|
|
| |
These are fake and not actual PCs, more like function IDs.
Pass them to external symbolizer untouched.
llvm-svn: 224022
|
| |
|
|
| |
llvm-svn: 224021
|
| |
|
|
|
|
| |
We already have them mapped into memory, so we can just close the file.
llvm-svn: 224020
|
| |
|
|
|
|
| |
+ intrinsics + tests
llvm-svn: 224019
|
| |
|
|
| |
llvm-svn: 224018
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D5840
llvm-svn: 224017
|
| |
|
|
|
|
| |
No functional change intended.
llvm-svn: 224016
|
| |
|
|
|
|
|
|
|
|
| |
for llvm.dbg.value.
Patch by Amjad Aboud
Differential Revision: http://reviews.llvm.org/D6525
llvm-svn: 224015
|
| |
|
|
| |
llvm-svn: 224014
|
| |
|
|
| |
llvm-svn: 224013
|
| |
|
|
|
|
| |
Recommit of r223114, reverted in r223120.
llvm-svn: 224012
|
| |
|
|
| |
llvm-svn: 224011
|
| |
|
|
|
|
|
|
| |
actual immediate
This should fix PR21878.
llvm-svn: 224010
|
| |
|
|
|
|
|
|
|
|
| |
Properly determine whether or not a phi was added by splitting.
Check against the current VNInfo of OrigLI instead of against the
OrigVNI argument.
Patch provided by Jonas Paulsson. Reviewed by Quentin Colombet.
llvm-svn: 224009
|
| |
|
|
| |
llvm-svn: 224008
|
| |
|
|
| |
llvm-svn: 224007
|
| |
|
|
|
|
| |
Extract the creation of overflow result tuples in a separate function. NFC.
llvm-svn: 224006
|
| |
|
|
| |
llvm-svn: 224005
|
| |
|
|
|
|
| |
separate pointer that's kept in sync with it.
llvm-svn: 224004
|
| |
|
|
|
|
| |
unique_ptr to caller.
llvm-svn: 224003
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Canonicalize formatting of metadata to make it easier to upgrade via
scripts -- in particular, one line per metadata definition makes it more
`sed`-able.
This is preparation for changing the assembly syntax for metadata [1].
[1]: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141208/248449.html
llvm-svn: 224002
|
| |
|
|
|
|
| |
This piece of code was copied multiple times to each archs.
llvm-svn: 224001
|
| |
|
|
|
|
|
|
| |
(incorrect-variable-debugloc1.ll) failed for llvm-ppc64.
The test is failing for llvm-ppc64 because for this platform the location list is not being generated at all (most likely because of the bug in PPC code optimization or generation). I will file a bug agains PPC compiler, but meanwhile, until PPC bug is fixed, I will have to revert my change.
llvm-svn: 224000
|
| |
|
|
| |
llvm-svn: 223999
|
| |
|
|
| |
llvm-svn: 223998
|
| |
|
|
|
|
|
|
| |
ownership and deletion of the values.
Ideally we would store the MultiClasses by value directly in the maps, but I had some trouble with that before and this at least fixes the leak.
llvm-svn: 223997
|
| |
|
|
|
|
|
|
|
| |
We can't reach those from zext, but other parts of the backend (the shuffle
lowering) generate 256-bit VZEXT nodes.
Fixes PR21876.
llvm-svn: 223996
|
| |
|
|
|
|
| |
PR21799!
llvm-svn: 223995
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change moves the ownership and access of GCFunctionInfo (the object which describes the safepoints associated with a safepoint under GCRoot) to GCModuleInfo. Previously, this was owned by GCStrategy which was in turned owned by GCModuleInfo. This made GCStrategy module specific which is 'surprising' given it's name and other purposes.
There's a few more changes needed, but we're getting towards the point we can reuse GCStrategy for gc.statepoint as well.
p.s. The style of this code ends up being a mess. I was trying to move code around without otherwise changing much. Once I get the ownership structure rearranged, I will go through and fixup spacing, naming, comments etc.
Differential Revision: http://reviews.llvm.org/D6587
llvm-svn: 223994
|
| |
|
|
|
|
| |
Take the opportunity to sort these by `metadata`.
llvm-svn: 223993
|
| |
|
|
|
|
|
|
|
|
| |
While we would correctly handle asm("foo") and reject asm(L"bar"), we
weren't careful to handle cases where an ascii literal could be
concatenated with a wide literal.
This fixes PR21822.
llvm-svn: 223992
|
| |
|
|
| |
llvm-svn: 223991
|
| |
|
|
|
|
|
| |
I apparently fail at the alphabet, E is not after G, and G isn't even
close to C. Sorry for the noise.
llvm-svn: 223990
|
| |
|
|
| |
llvm-svn: 223989
|