| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
being done for malloc)
fix a few typos found by Chad in my previous commit
llvm-svn: 156110
|
| |
|
|
|
|
| |
This patch creates and optimizes packets as per Hexagon ISA rules.
llvm-svn: 156109
|
| |
|
|
| |
llvm-svn: 156108
|
| |
|
|
|
|
|
|
|
|
|
| |
validate that we didn't override the contents of any of such files.
If this is detected, emit a diagnostic error and recover gracefully
by using the contents of the original file that the PCH was built from.
Part of rdar://11305263
llvm-svn: 156107
|
| |
|
|
|
|
| |
of places. // rdar://11375908
llvm-svn: 156106
|
| |
|
|
| |
llvm-svn: 156104
|
| |
|
|
|
|
|
|
|
| |
performing the search for overridden methods. We very rarely see the
same container twice, and in those rare cases we still have the
fallback of the second SmallPtrSet to eliminate duplicates. Good for
~1.5% -fsyntax-only speedup on the code in <rdar://problem/11004361>.
llvm-svn: 156103
|
| |
|
|
| |
llvm-svn: 156102
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
user-initiated plans
should be MasterPlans that want to stay on the plan stack. So make all plans NOT
MasterPlans by default and then have the SB API's and the CommandObjectThread step
commands set this explicitly.
Also added a "clean up" phase to the Thread::ShouldStop so that if plans get stranded
on the stack, we can remove them. This is done by adding an IsPlanStale method to the
thread plans, and if the plan can know that it is no longer relevant, it returns true,
and the plan and its sub-plans will get discarded.
llvm-svn: 156101
|
| |
|
|
|
|
|
| |
There are no tests for this yet because I still need to finish the
YAML -> COFF converter so we don't get binary files checked in.
llvm-svn: 156100
|
| |
|
|
|
|
| |
breakpoint on multiple names.
llvm-svn: 156098
|
| |
|
|
|
|
|
| |
prototypes should both return `struct objc_class *`.
// rdar://11375495
llvm-svn: 156097
|
| |
|
|
|
|
| |
Part of rdar://11285725
llvm-svn: 156096
|
| |
|
|
| |
llvm-svn: 156095
|
| |
|
|
| |
llvm-svn: 156094
|
| |
|
|
| |
llvm-svn: 156093
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the NSAssert macros in OS X 10.7 are implemented in a way that
adds extra arguments that trigger the -Wformat-extra-args warning.
Earlier versions of clang failed to detect those -Wformat issues, but now
that clang is reporting those problems, we need to quiet them since there's
nothing to be done to fix them. <rdar://problem/11317765>
I don't know how to write a testcase for this. Suggestions welcome.
Patch by Ted Kremenek!
llvm-svn: 156092
|
| |
|
|
| |
llvm-svn: 156091
|
| |
|
|
|
|
| |
EXCLUDE_FROM_ALL property.
llvm-svn: 156090
|
| |
|
|
|
|
| |
width of the two to avoid truncation.
llvm-svn: 156089
|
| |
|
|
|
|
| |
rdar://problem/11374653
llvm-svn: 156088
|
| |
|
|
| |
llvm-svn: 156087
|
| |
|
|
|
|
|
|
|
|
|
|
| |
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
can be used to suppress the warning in the case of intentional fallthrough.
Patch by Alexander Kornienko!
The handling of C++11 attribute namespaces in this patch is temporary, and will
be replaced with a cleaner mechanism in a subsequent patch.
llvm-svn: 156086
|
| |
|
|
|
|
|
|
|
|
| |
specifically checks for equality to null.
Enforcing this general practice, which keeps the analyzer less
noisy, in the CString Checker. This change suppresses "Assigned value is
garbage or undefined" warning in the added test case.
llvm-svn: 156085
|
| |
|
|
| |
llvm-svn: 156084
|
| |
|
|
|
|
|
|
| |
Many register classes only have a few super-registers, so it is not
necessary to keep individual bit masks for all possible sub-register
indices.
llvm-svn: 156083
|
| |
|
|
|
|
| |
was unintentional. Found by -Wimplicit-fallthrough, patch by Alexander Kornienko!
llvm-svn: 156082
|
| |
|
|
|
|
|
|
| |
failing to lex the string, as suggested by Eli.
Part of rdar://11305263.
llvm-svn: 156081
|
| |
|
|
| |
llvm-svn: 156080
|
| |
|
|
|
|
|
| |
aren't necessary to reproduce the clang crash.
Part of rdar://11285725
llvm-svn: 156079
|
| |
|
|
|
|
|
| |
under -Wobjc-missing-property-synthesis which must be
opted-in. // rdar://11295716
llvm-svn: 156078
|
| |
|
|
| |
llvm-svn: 156077
|
| |
|
|
|
|
|
|
| |
Some targets have no sub-registers at all. Use the TargetRegisterInfo
versions of composeSubRegIndices(), getSubClassWithSubReg(), and
getMatchingSuperRegClass() for those targets.
llvm-svn: 156075
|
| |
|
|
| |
llvm-svn: 156074
|
| |
|
|
|
|
| |
This adds new instructions for Hexagon V4 architecture.
llvm-svn: 156071
|
| |
|
|
|
|
|
|
| |
there is no need to fallback to visitCallSite.
This gives a 0.9% in a test case
llvm-svn: 156069
|
| |
|
|
| |
llvm-svn: 156067
|
| |
|
|
|
|
| |
double and long double.
llvm-svn: 156064
|
| |
|
|
|
|
| |
assembler. Turn it on explicitly on all platforms by the "-integrated-as" option.
llvm-svn: 156063
|
| |
|
|
|
|
|
|
| |
shouldn't be converted to the result type. Fixes PR12206 and dupe PR12510.
This was probably the original intent of r133041 (also me, a year ago).
llvm-svn: 156062
|
| |
|
|
| |
llvm-svn: 156061
|
| |
|
|
|
|
| |
vector elements.
llvm-svn: 156060
|
| |
|
|
|
|
| |
lower half correctly. Missed in r155982.
llvm-svn: 156059
|
| |
|
|
| |
llvm-svn: 156058
|
| |
|
|
|
|
| |
Fixes rdar://11353109 & http://llvm.org/bugs/show_bug.cgi?id=12689
llvm-svn: 156056
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We need to identify the value of ptr as
ElementRegion (result of pointer arithmetic) in the following code.
However, before this commit '(2-x)' evaluated to Unknown value, and as
the result, 'p + (2-x)' evaluated to Unknown value as well.
int *p = malloc(sizeof(int));
ptr = p + (2-x);
llvm-svn: 156052
|
| |
|
|
|
|
|
| |
The resulting type info is stored in the SymSymExpr, so no reason not to
support construction of expression with different subexpression types.
llvm-svn: 156051
|
| |
|
|
|
|
| |
(Currently, this is only relevant for tainted data.)
llvm-svn: 156050
|
| |
|
|
|
|
|
|
| |
The change resulted in multiple issues on the buildbot, so it's not
ready for prime time. Only enable history tracking for tainted
data(which is experimental) for now.
llvm-svn: 156049
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to catch cases like:
%reg1024<def> = MOV r1
%reg1025<def> = MOV r0
%reg1026<def> = ADD %reg1024, %reg1025
r0 = MOV %reg1026
By commuting ADD, it let coalescer eliminate all of the copies. However, there
was a bug in the heuristics where it ended up commuting the ADD in:
%reg1024<def> = MOV r0
%reg1025<def> = MOV 0
%reg1026<def> = ADD %reg1024, %reg1025
r0 = MOV %reg1026
That did no benefit but rather ensure the last MOV would not be coalesced.
rdar://11355268
llvm-svn: 156048
|