| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
layout. :)
Rename the 'EntoSA' directories to 'StaticAnalyzer'.
Internally we will still use the 'ento' namespace
for the analyzer engine (unless there are further
sabre rattlings...).
llvm-svn: 122514
|
| |
|
|
| |
llvm-svn: 122513
|
| |
|
|
|
|
| |
address spaces work.
llvm-svn: 122511
|
| |
|
|
| |
llvm-svn: 122509
|
| |
|
|
|
|
|
|
|
|
|
| |
specialization's template arguments against the primary template's
template arguments using the obvious, correct method of checking the
injected-class-name type (C++ [temp.class.spec]p9b3). The previous
incarnation of this comparison attempted to use its own formulation of
the injected-class-name, which is redudant and, with the introduction
of variadic templates, became wrong (again).
llvm-svn: 122508
|
| |
|
|
| |
llvm-svn: 122507
|
| |
|
|
| |
llvm-svn: 122506
|
| |
|
|
|
|
|
|
|
| |
template argument corresponding to a template parameter pack is an
argument pack of a pack expansion of that template parameter
pack. Implements C++0x [temp.dep.type]p2 (at least, as much of it as
we can).
llvm-svn: 122498
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See http://caml.inria.fr/mantis/view.php?id=4166
If we call only external functions from a module, then its 'let _' bindings
don't get executed, which means that the exceptions don't get registered for use
in the C code.
This in turn causes llvm_raise to call raise_with_arg() with a NULL pointer and
cause a segmentation fault.
The workaround is to declare all 'external' functions as 'val' in these .mli
files.
Also added a separate testcase (the testcase must call only external functions
for the bug to occur).
llvm-svn: 122497
|
| |
|
|
|
|
| |
doesn't return a pointer to the end of the string.
llvm-svn: 122496
|
| |
|
|
| |
llvm-svn: 122495
|
| |
|
|
| |
llvm-svn: 122494
|
| |
|
|
|
|
| |
update Makefile.
llvm-svn: 122493
|
| |
|
|
| |
llvm-svn: 122492
|
| |
|
|
|
|
| |
and instruction issue.
llvm-svn: 122491
|
| |
|
|
| |
llvm-svn: 122475
|
| |
|
|
|
|
| |
multiple nodes per cycle.
llvm-svn: 122474
|
| |
|
|
| |
llvm-svn: 122473
|
| |
|
|
|
|
|
|
| |
In the bottom-up selection DAG scheduling, handle two-address
instructions that read/write unspillable registers. Treat
the entire chain of two-address nodes as a single live range.
llvm-svn: 122472
|
| |
|
|
|
|
|
|
|
|
|
| |
set the RUN line correctly in a test file!
Mark a bunch of tests for ArrayBoundCheckerV2
as FIXME's, as our current lack of pointer
arithmetic handling causes these to be all
false positives/negatives.
llvm-svn: 122471
|
| |
|
|
|
|
|
| |
to correctly print out negative values for
signed integers.
llvm-svn: 122470
|
| |
|
|
|
|
|
| |
checker based on using raw (symbolic) byte offsets
from a base region.
llvm-svn: 122469
|
| |
|
|
|
|
| |
for array indices.
llvm-svn: 122468
|
| |
|
|
|
|
|
| |
to SValBuilder. These two query methods are useful
for constructing SVals.
llvm-svn: 122467
|
| |
|
|
|
|
|
| |
to also include signedness and bitwidth of
the underlying integer.
llvm-svn: 122466
|
| |
|
|
|
|
| |
runtime for the value we're looking at, BUT it IS at least a pointer, try the ObjCRuntime language. That's currently the only language runtime that has an object description method anyway...
llvm-svn: 122465
|
| |
|
|
|
|
| |
aren't any frames... So mark the command properly as such.
llvm-svn: 122464
|
| |
|
|
|
|
|
|
|
|
|
|
| |
parameter packs. In particular, a parameter pack not otherwise deduced
is deduced to an empty parameter pack.
The C++0x wording here is a bit unfortunate; this should really only
apply to function templates, and it mentions "trailing" parameter
packs, which doesn't really make sense in the context of function
templates. Will file a core issue separately.
llvm-svn: 122463
|
| |
|
|
|
|
| |
ConvertToScalarInfo
llvm-svn: 122462
|
| |
|
|
|
|
|
|
| |
the presence of a pack expansion anywhere except at the end of a
template-argument-list causes the entire template-argument-list to be
a non-deduced context.
llvm-svn: 122461
|
| |
|
|
|
|
|
|
|
| |
get the argument values of the call stacks when stopped on the breakpoint.
Radar has been filed for the expected failures:
test failure: ./dotest.py -v -w -t -p TestFrames (argument values are wrong)
llvm-svn: 122460
|
| |
|
|
|
|
|
|
|
| |
new gcc warning that complains on self-assignments and
self-initializations. Fix one bug found by the warning, in which one
clang::OverloadCandidate constructor failed to initialize its
FunctionTemplate member.
llvm-svn: 122459
|
| |
|
|
|
|
|
| |
new gcc warning that complains on self-assignments and
self-initializations.
llvm-svn: 122458
|
| |
|
|
| |
llvm-svn: 122457
|
| |
|
|
| |
llvm-svn: 122456
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
illegal. The latter usually compiles into smaller code.
example code:
unsigned foo(unsigned x, unsigned y) {
if (x != 0) y--;
return y;
}
before:
_foo: ## @foo
cmpl $1, 4(%esp) ## encoding: [0x83,0x7c,0x24,0x04,0x01]
sbbl %eax, %eax ## encoding: [0x19,0xc0]
notl %eax ## encoding: [0xf7,0xd0]
addl 8(%esp), %eax ## encoding: [0x03,0x44,0x24,0x08]
ret ## encoding: [0xc3]
after:
_foo: ## @foo
cmpl $1, 4(%esp) ## encoding: [0x83,0x7c,0x24,0x04,0x01]
movl 8(%esp), %eax ## encoding: [0x8b,0x44,0x24,0x08]
adcl $-1, %eax ## encoding: [0x83,0xd0,0xff]
ret ## encoding: [0xc3]
llvm-svn: 122455
|
| |
|
|
| |
llvm-svn: 122454
|
| |
|
|
|
|
| |
sext from i1.
llvm-svn: 122453
|
| |
|
|
|
|
|
|
|
| |
single routine. Extend that routine to handle consistency
checking for template argument packs, so that we can compare the
deduced packs for template parameter packs across different pack
expansions.
llvm-svn: 122452
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
int test(unsigned long a, unsigned long b) { return -(a < b); }
compiles to
_test: ## @test
cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7]
sbbl %eax, %eax ## encoding: [0x19,0xc0]
ret ## encoding: [0xc3]
instead of
_test: ## @test
xorl %ecx, %ecx ## encoding: [0x31,0xc9]
cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7]
movl $-1, %eax ## encoding: [0xb8,0xff,0xff,0xff,0xff]
cmovael %ecx, %eax ## encoding: [0x0f,0x43,0xc1]
ret ## encoding: [0xc3]
llvm-svn: 122451
|
| |
|
|
|
|
| |
SBTarget.LaunchProcess() API.
llvm-svn: 122450
|
| |
|
|
| |
llvm-svn: 122449
|
| |
|
|
|
|
| |
fixed.
llvm-svn: 122448
|
| |
|
|
| |
llvm-svn: 122447
|
| |
|
|
|
|
| |
if we have a lame assembler.
llvm-svn: 122446
|
| |
|
|
|
|
| |
pick the victim with the lowest total spill weight.
llvm-svn: 122445
|
| |
|
|
| |
llvm-svn: 122444
|
| |
|
|
|
|
| |
better name and matches what is used in the MachO writer.
llvm-svn: 122443
|
| |
|
|
| |
llvm-svn: 122442
|
| |
|
|
| |
llvm-svn: 122441
|