| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
reachablity.
We conservatively approximate the reachability analysis by saying it is not
reachable if there is a single path starting from "From" and the path does not
reach "To".
rdar://12801584
llvm-svn: 171512
|
| |
|
|
| |
llvm-svn: 171511
|
| |
|
|
| |
llvm-svn: 171510
|
| |
|
|
|
|
| |
feature.
llvm-svn: 171509
|
| |
|
|
| |
llvm-svn: 171508
|
| |
|
|
| |
llvm-svn: 171507
|
| |
|
|
|
|
|
|
|
| |
This patch fixes the PPC eh_frame definitions for the personality and
frame unwinding for PIC objects. It makes PIC build correctly creates
relative relocations in the '.rela.eh_frame' segments and thus avoiding
a text relocation that generates a DT_TEXTREL segments in link phase.
llvm-svn: 171506
|
| |
|
|
| |
llvm-svn: 171505
|
| |
|
|
|
|
|
|
| |
keyword for ObjC properties.
Fixes <rdar://problem/12953378>.
llvm-svn: 171504
|
| |
|
|
|
|
| |
Addresses LLVM PR 11661.
llvm-svn: 171503
|
| |
|
|
|
|
|
|
|
|
| |
actually include it's name.
This is a possible regression of moving to using ImplicitNullDerefEvent.
Fixing this for real (including the parameter name) requires more
plumbing in ImplicitNullDerefEvent. This is just a stop gap fix.
llvm-svn: 171502
|
| |
|
|
| |
llvm-svn: 171501
|
| |
|
|
| |
llvm-svn: 171500
|
| |
|
|
| |
llvm-svn: 171499
|
| |
|
|
| |
llvm-svn: 171498
|
| |
|
|
| |
llvm-svn: 171497
|
| |
|
|
| |
llvm-svn: 171496
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents code like:
namespace {
class Foo {
Foo(
};
} // comment
from causing segfaults (see llvm.org/PR14774).
llvm-svn: 171495
|
| |
|
|
| |
llvm-svn: 171494
|
| |
|
|
|
|
|
|
|
|
| |
The line information was changed when emitting debug information for all the
DeclRefExprs and we should change it back to get ready for PopClenupBlocks
called from FinishFunction.
rdar://11562117
llvm-svn: 171493
|
| |
|
|
|
|
|
| |
to match those foung in objc.h an avoid spurious warnings.
// rdar://12489098
llvm-svn: 171492
|
| |
|
|
|
|
| |
dont have this hook.
llvm-svn: 171489
|
| |
|
|
| |
llvm-svn: 171487
|
| |
|
|
|
|
|
|
|
| |
Uses of clang_getSpellingLocation should eventually move to calling
clang_getFileLocation, and clang_getSpellingLocation should do what
its name represents and actually point at the 'spelling' location, e.g.
inside a macro definition if the spelling of a token came from that.
llvm-svn: 171486
|
| |
|
|
|
|
|
|
| |
previous statement.
rdar://11074996
llvm-svn: 171485
|
| |
|
|
|
|
|
|
|
|
| |
retaining
variable, thus emitting the "switch case is in protected scope" error.
rdar://12952016
llvm-svn: 171484
|
| |
|
|
|
|
| |
class, SwitchCase.
llvm-svn: 171483
|
| |
|
|
|
|
|
|
| |
-autorelease.
rdar://12952025
llvm-svn: 171482
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Took existing code from loop-convert tool and made it into a cpp11-migrate
transform. Pattern now set for having transform code in subdirectories. Related
changes:
- Makefile and CMakeLists.txt updated to support source files in
subdirectories.
- At least one transform must be specified. syntax-only tests removed to
reflect this.
- TODO: port over loop-convert tests.
Reviewers: klimek, silvas
llvm-svn: 171481
|
| |
|
|
|
|
|
|
|
| |
A segfault used to clear the entire buffer. With this change, a message
to report a bug is displayed instead.
This should solve most cases similar to llvm.org/PR14774.
llvm-svn: 171480
|
| |
|
|
|
|
| |
for libc++
llvm-svn: 171479
|
| |
|
|
| |
llvm-svn: 171478
|
| |
|
|
|
|
| |
the command line, from python, and also how to use the build in modules to do symbolication.
llvm-svn: 171477
|
| |
|
|
|
|
|
|
| |
Added SBTarget::EvaluateExpression() so expressions can be evaluated without needing a process.
Also fixed many functions that deal with clang AST types to be able to properly handle the clang::Type::Elaborated types ("struct foo", "class bar").
llvm-svn: 171476
|
| |
|
|
| |
llvm-svn: 171475
|
| |
|
|
|
|
| |
string offset section.
llvm-svn: 171474
|
| |
|
|
| |
llvm-svn: 171473
|
| |
|
|
|
|
| |
field number was 0 anyhow.
llvm-svn: 171472
|
| |
|
|
|
|
| |
size actually hurts the performance on many programs.
llvm-svn: 171471
|
| |
|
|
| |
llvm-svn: 171470
|
| |
|
|
|
|
|
|
| |
1. Add code to estimate register pressure.
2. Add code to select the unroll factor based on register pressure.
3. Add bits to TargetTransformInfo to provide the number of registers.
llvm-svn: 171469
|
| |
|
|
|
|
|
|
|
| |
tests fail. Original message:
Simplified TRUNCATE operation that comes after SETCC. It is possible since SETCC result is 0 or -1.
Added a test.
llvm-svn: 171468
|
| |
|
|
|
|
|
|
| |
SETCC result is 0 or -1.
Added a test.
llvm-svn: 171467
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when dividing by 0. This is needed to keep early if conversion from moving them across basic blocks."
This reverts commit r171461 since it breaks the following tests:
Clang :: Analysis/outofbound-notwork.c
Clang :: Analysis/string-fail.c
Clang :: CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp
Clang :: CXX/basic/basic.lookup/basic.lookup.unqual/p15.cpp
Clang :: CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
Clang :: CXX/dcl.dcl/dcl.spec/dcl.stc/p10.cpp
Clang :: CXX/temp/temp.param/p14.cpp
Clang :: CXX/temp/temp.res/temp.dep.res/temp.point/p1.cpp
Clang :: CodeGen/2009-02-13-zerosize-union-field-ppc.c
Clang :: CodeGen/blocks-2.c
Clang :: CodeGen/libcalls-d.c
Clang :: CodeGen/libcalls-ld.c
Clang :: CodeGenCXX/conversion-function.cpp
Clang :: CodeGenCXX/debug-info-limit-type.cpp
Clang :: CodeGenCXX/inheriting-constructor.cpp
Clang :: FixIt/fixit-errors.c
Clang :: FixIt/fixit-pmem.cpp
Clang :: Modules/namespaces.cpp
Clang :: PCH/changed-files.c
Clang :: PCH/pr4489.c
Clang :: PCH/source-manager-stack.c
Clang :: Parser/cxx-ambig-decl-expr-xfail.cpp
Clang :: SemaCXX/switch-implicit-fallthrough-cxx98.cpp
Clang :: SemaTemplate/instantiate-function-1.mm
llvm-svn: 171466
|
| |
|
|
|
|
| |
processed when said queue was really a list to state a list had finished being processed.
llvm-svn: 171465
|
| |
|
|
|
|
| |
ObjCARCAPElim::OptimizeBB.
llvm-svn: 171464
|
| |
|
|
|
|
| |
*p = null.
llvm-svn: 171463
|
| |
|
|
|
|
| |
architectures where this is required to perform a retainAutoreleasedReturnValue optimization.
llvm-svn: 171462
|
| |
|
|
|
|
| |
dividing by 0. This is needed to keep early if conversion from moving them across basic blocks.
llvm-svn: 171461
|
| |
|
|
| |
llvm-svn: 171459
|