- Aug 19, 2013
-
-
David Blaikie authored
This reduces the noise in diffs making it more likely that, at least for LLVM revision-over-revision, diffs will actually yield usable results. This is consistent with objdump's DWARF dumping behavior. llvm-svn: 188650
-
David Blaikie authored
We check this in many/all other cases, just missed this one it seems. Perhaps it'd be worth unifying this so we never emit zero-length DW_AT_names. llvm-svn: 188649
-
Craig Topper authored
Make the version of Stmt::operator new that takes ASTContext* call the ASTContext& version in Stmt inline instead of having two out of line functions that both call to the global versions. llvm-svn: 188648
-
David Majnemer authored
Summary: DeclRefExpr::getDecl gives us back a ValueDecl, this isa<> check will never fire. Reviewers: eli.friedman, doug.gregor, majnemer Reviewed By: majnemer CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1434 llvm-svn: 188647
-
Peter Collingbourne authored
It turned out that I didn't need this for DFSan. llvm-svn: 188646
-
- Aug 18, 2013
-
-
Craig Topper authored
llvm-svn: 188645
-
Craig Topper authored
llvm-svn: 188644
-
Tim Northover authored
When patching inlineasm nodes to use GPRPair for 64-bit values, we were dropping the information that two operands were tied, which effectively broke the live-interval of vregs affected. llvm-svn: 188643
-
David Blaikie authored
Revert "Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class"" This reverts commit r188600. r188640/r188639 fixed the root cause of the crash-on-valid that r188600 originally introduced. This now appears to bootstrap debug clang successfully to the best of my testing. llvm-svn: 188642
-
Craig Topper authored
Remove throw() from Stmt::operator new so the compiler will omit the null check on the result since ASTContext allocator won't return null. llvm-svn: 188641
-
David Blaikie authored
A partner to r188639, this is a somewhat heavy-handed fix to the general issue, since even after that prior change the issue does still unavoidably arise with template parameters (see test case). There are other ways we could consider addressing this (see FIXME). llvm-svn: 188640
-
David Blaikie authored
Possible minor reduction in debug info & avoid some cases where creating a context chain could lead to the type the context chain is being created for, being created. (this is still possible with template parameters - tests/fixes/improvements to follow) llvm-svn: 188639
-
NAKAMURA Takumi authored
llvm-svn: 188638
-
Elena Demikhovsky authored
llvm-svn: 188637
-
Craig Topper authored
Make expression allocation methods use a 'const' reference to the ASTContext since the underlying operator new only needs a const reference. llvm-svn: 188636
-
Chandler Carruth authored
bump up the inflection point to 2.14. If someone can tell me how to actually figure out value for this, that would be awesome. Anyways, this takes me to one ASan failure, one LSan failure, and three TSan failures for 'check-all' on Linux. llvm-svn: 188635
-
Craig Topper authored
llvm-svn: 188629
-
Chandler Carruth authored
Linux systems. I've replied on the original commit thread with details of the problem. llvm-svn: 188628
-
Dmitri Gribenko authored
llvm-svn: 188627
-
Dmitri Gribenko authored
llvm-svn: 188626
-
Dmitri Gribenko authored
llvm-svn: 188625
-
Logan Chien authored
The Makefile rule "polly-test" has been renamed to "check-polly" in r182171. This CL updates the document and the automatic build script. llvm-svn: 188624
-
Chandler Carruth authored
loop processing the candidates can cause new declerations to be added to the context, invalidating lookup_result. To avoid that, make a copy of the list of declarations to iterate over. I don't have a way to check in a test case for this as it involves a giant pile of source code and a generated PCH file used to accelerate code completion, all of this running under ASan. llvm-svn: 188623
-
David Blaikie authored
Fixes a crash-on-valid introduced by r188486 (which should've occurred earlier but for a blatant bug where calling createFwdDecl from the requireCompleteType callback was useless under -flimit-debug-info and we were just getting lucky with other later callbacks requiring the type anyway). llvm-svn: 188622
-
NAKAMURA Takumi authored
llvm-svn: 188621
-
NAKAMURA Takumi authored
llvm-svn: 188620
-
NAKAMURA Takumi authored
llvm-svn: 188619
-
Chandler Carruth authored
project's autoconf. This is the last of the missing optional checks used by libSupport that seemed to be missing from the sample project, but I could easily have missed some as this was done by inspection when Craig asked me to add the terminfo support. llvm-svn: 188618
-
Chandler Carruth authored
autoconf setup. llvm-svn: 188617
-
Chandler Carruth authored
detecting terminfo. Requested by Craig Topper, and probably should be done much more systematically. llvm-svn: 188616
-
Chandler Carruth authored
allocated by setupterm. Without this, some folks are seeing leaked memory whenever this routine is called more than once. Thanks to Craig Topper for the report. llvm-svn: 188615
-
Hal Finkel authored
This fixes SCEVExpander so that it does not create multiple distinct induction variables for duplicate PHI entries. Specifically, given some code like this: do.body6: ; preds = %do.body6, %do.body6, %if.then5 %end.0 = phi i8* [ undef, %if.then5 ], [ %incdec.ptr, %do.body6 ], [ %incdec.ptr, %do.body6 ] ... Note that it is legal to have multiple entries for a basic block so long as the associated value is the same. So the above input is okay, but expanding an AddRec in this loop could produce code like this: do.body6: ; preds = %do.body6, %do.body6, %if.then5 %indvar = phi i64 [ %indvar.next, %do.body6 ], [ %indvar.next1, %do.body6 ], [ 0, %if.then5 ] %end.0 = phi i8* [ undef, %if.then5 ], [ %incdec.ptr, %do.body6 ], [ %incdec.ptr, %do.body6 ] ... %indvar.next = add i64 %indvar, 1 %indvar.next1 = add i64 %indvar, 1 And this is not legal because there are two PHI entries for %do.body6 each with a distinct value. Unfortunately, I don't have an in-tree test case. llvm-svn: 188614
-
Joerg Sonnenberger authored
llvm-svn: 188613
-
- Aug 17, 2013
-
-
David Blaikie authored
llvm-svn: 188612
-
Guillaume Papin authored
This reverts commit r188610. Issue with the absolute include paths not found in the unit tests on the Windows bots. Needs investigation. llvm-svn: 188611
-
Guillaume Papin authored
The IncludeDirectives class helps with detecting and modifying #include directives. For now it allows the users to add angled-includes in a source file. This is a start for this class that will evolve in the future to add more functionality. llvm-svn: 188610
-
Juergen Ributzka authored
_mm256_broadcastsi128_si256 to align with the Intel documentation. This fixes bug PR 16581 and rdar:14747994. llvm-svn: 188609
-
Juergen Ributzka authored
builtin. The GCC builtin expects the arguments to be passed by val, whereas the LLVM intrinsic expects a pointer instead. This is related to PR 16581 and rdar:14747994. llvm-svn: 188608
-
Anton Yartsev authored
llvm-svn: 188607
-
Joerg Sonnenberger authored
llvm-svn: 188606
-