- Feb 09, 2015
-
-
Chris Bieneman authored
This reverts commit add62ac537d8249fa2161405066e318ca80e199d. llvm-svn: 228616
-
Chris Bieneman authored
llvm-svn: 228615
-
Colin LeMahieu authored
llvm-svn: 228614
-
Ben Langmuir authored
Don't assume it will provide an error or null-terminate the string on truncation, since POSIX doesn't guarantee either behaviour (although Linux and Darwin at least will do the 'right thing'). llvm-svn: 228613
-
Philip Reames authored
a) add gc attribute b) remove unused param llvm-svn: 228612
-
Ramkumar Ramachandra authored
Without a valid data layout, deferenceable(N) doesn't get parsed or propagated. Since this is the key item we are testing, add a dependency on the pass. Differential Revision: http://reviews.llvm.org/D7508 llvm-svn: 228611
-
Philip Reames authored
This is just adding really simple tests which should have been part of the original submission. When doing so, I discovered that I'd mistakenly removed required pieces when preparing the patch for upstream submission. I fixed two such bugs in this submission. llvm-svn: 228610
-
Duncan P. N. Exon Smith authored
llvm-svn: 228609
-
Duncan P. N. Exon Smith authored
I'll circle back and fix this somehow; for now I just don't want to forget about it. llvm-svn: 228608
-
Duncan P. N. Exon Smith authored
These are never referenced or filled in. llvm-svn: 228607
-
Ramkumar Ramachandra authored
While a theoretical GC might change dereferenceability on collection, there is no such known collector and no need to account for the case with a flag yet. Differential Revision: http://reviews.llvm.org/D7454 llvm-svn: 228606
-
Colin LeMahieu authored
llvm-svn: 228605
-
Ben Langmuir authored
If the lock file manager times out, we should give an error rather than silently trying to load the existing module. And delete the (presumably) dead lock file, since it will otherwise prevent progress in future invokations. This is unsound since we have no way to prove that the lock file we are deleting is the same one we timed out on, but since the lock is only to avoid excessive rebuilding anyway it should be okay. Depends on llvm r228603. llvm-svn: 228604
-
Ben Langmuir authored
5 minutes is an eternity, so try to strike a better balance between waiting long enough for any reasonable module build and not so long that users kill the process because they think it's hanging. Also give the client a way to delete the lock file after a timeout. llvm-svn: 228603
-
Colin LeMahieu authored
llvm-svn: 228602
-
Ben Langmuir authored
If gethostname() is not successful, just skip adding the hostname to the module hash. And don't bother setting hostname[255] = 0, since if gethostname() is successful, it will be null-terminated already (and if it's not successful we don't read the string now. llvm-svn: 228601
-
Colin LeMahieu authored
llvm-svn: 228598
-
Ramkumar Ramachandra authored
Make use of the newly introduced inst_range to clean up two loops. Clean up a third one while at it. Differential Revision: http://reviews.llvm.org/D7455 llvm-svn: 228596
-
Sanjoy Das authored
<NW> bit of a SCEVAddRecExpr does not depend on the sign of the step and the start value of the step. llvm-svn: 228595
-
Ben Langmuir authored
llvm-svn: 228594
-
Colin LeMahieu authored
llvm-svn: 228593
-
Ben Langmuir authored
Sharing between hosts will cause problems for the LockFileManager, which can timeout waiting for a process that has already died. llvm-svn: 228592
-
David Blaikie authored
DebugInfo: Refactor default arg handling into a common place (instead of handling in repeatedly for aggregate, complex, and scalar types) llvm-svn: 228591
-
Zachary Turner authored
llvm-svn: 228590
-
David Blaikie authored
llvm-svn: 228589
-
David Blaikie authored
Matches the existing code for scalar default arguments. Complex default arguments probably need the same handling too (test/fix to that coming next). llvm-svn: 228588
-
Sanjoy Das authored
llvm-svn: 228587
-
Sanjoy Das authored
When creating a scev for sext({X,+,Y}), scev checks if the expression is equivalent to {sext X,+,zext Y}. If it can prove that, it also tags the original {X,+,Y} as <nsw>, which is not correct. In the test case I run `-scalar-evolution` twice because the bug manifests only once SCEV has run through and seen the `sext` expressions (and then does a in-place mutation on {X,+,Y}). Differential Revision: http://reviews.llvm.org/D7495 llvm-svn: 228586
-
Lang Hames authored
As far as I can tell r228568 was the right workaround, and r228567 was unnecessary. If reverting this causes problems on the bots I'll reinstate it. llvm-svn: 228585
-
Hafiz Abid Qadeer authored
This test case was checking for a specific stop reason which is different on Linux. This caused the test to fail. It now only checks for stoppped. Also added some more steps to run to main so that we dont pass when application has run to completion. llvm-svn: 228584
-
Samuel Benzaquen authored
Summary: Warn when the return type of assign operators is not Class&. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6667 llvm-svn: 228583
-
Pavel Labath authored
bug introduced in D7466. For some reason target.Launch behaves differently on linux and mac. llvm-svn: 228582
-
Sanjay Patel authored
llvm-svn: 228581
-
Kit Barton authored
veqv (vector equivalence) vnand vorc I increased the AddedComplexity for these instructions to 500 to ensure they are generated instead of issuing other VSX instructions. Phabricator review: http://reviews.llvm.org/D7469 llvm-svn: 228580
-
Sanjay Patel authored
llvm-svn: 228579
-
Sanjay Patel authored
llvm-svn: 228578
-
Hafiz Abid Qadeer authored
Previously the offset field showed the offset from the section base. I have fixed it so that first disassembled instruction has offset of 0. Also made a little modification in the test case to match the output coming form the lldb-mi. llvm-svn: 228577
-
Hafiz Abid Qadeer authored
The test case were failing becuase my test compiler was gcc. The generated code behaved a bit differently to the how the test expected. Adjusted a few lines so that it works on both gcc and clang. llvm-svn: 228576
-
Tobias Grosser authored
llvm-svn: 228575
-
Ilia K authored
llvm-svn: 228574
-