- Apr 18, 2013
-
-
Chad Rosier authored
llvm-svn: 179765
-
Chad Rosier authored
llvm-svn: 179764
-
Eli Bendersky authored
Patch by Stephen Lin llvm-svn: 179763
-
Chad Rosier authored
llvm-svn: 179762
-
Chad Rosier authored
llvm-svn: 179761
-
Howard Hinnant authored
After years of telling people: 'If you ever find any of my code that self-move-assigns, send me a bug report.' Somebody finally took me up on it. vector::erase(begin(), begin()) does a self-move-assign of every element in the vector, leaving all of those elements in an unspecified state. I checked the other containers for this same bug and did not find it. Added test case. llvm-svn: 179760
-
Ashok Thirumurthi authored
in order to prevent consistent hangs on all 3 LLDB buildbots. llvm-svn: 179759
-
Manuel Klimek authored
Patch by Jochen Eisinger. llvm-svn: 179758
-
Benjamin Kramer authored
Fixes PR15748. llvm-svn: 179757
-
Benjamin Kramer authored
Fixes PR15759. llvm-svn: 179756
-
Alexey Samsonov authored
llvm-svn: 179755
-
Alexey Samsonov authored
llvm-svn: 179754
-
Benjamin Kramer authored
llvm-svn: 179753
-
Hao Liu authored
llvm-svn: 179751
-
David Majnemer authored
It is causing stage2 builds to fail, let's get them running again. llvm-svn: 179750
-
Andy Gibbs authored
llvm-svn: 179749
-
David Majnemer authored
Simplify: (select (icmp eq (and X, C1), 0), Y, (or Y, C2)) Into: (or (shl (and X, C1), C3), y) Where: C3 = Log(C2) - Log(C1) If: C1 and C2 are both powers of two llvm-svn: 179748
-
Michael Gottesman authored
[objc-arc] Do not mismatch up retains inside a for loop with releases outside said for loop in the presense of differing provenance caused by escaping blocks. This occurs due to an alloca representing a separate ownership from the original pointer. Thus consider the following pseudo-IR: objc_retain(%a) for (...) { objc_retain(%a) %block <- %a F(%block) objc_release(%block) } objc_release(%a) From the perspective of the optimizer, the %block is a separate provenance from the original %a. Thus the optimizer pairs up the inner retain for %a and the outer release from %a, resulting in segfaults. This is fixed by noting that the signature of a mismatch of retain/releases inside the for loop is a Use/CanRelease top down with an None bottom up (since bottom up the Retain-CanRelease-Use-Release sequence is completed by the inner objc_retain, but top down due to the differing provenance from the objc_release said sequence is not completed). In said case in CheckForCFGHazards, we now clear the state of %a implying that no pairing will occur. Additionally a test case is included. rdar://12969722 llvm-svn: 179747
-
Michael Gottesman authored
llvm-svn: 179746
-
Michael Gottesman authored
Streamline arc-annotation test (removing some cases which do not add any extra coverage) and set it up to use FileCheck variables to make the test more robust. llvm-svn: 179745
-
Argyrios Kyrtzidis authored
Fixes PR13580. Patch by Serge Pavlov! llvm-svn: 179743
-
Richard Trieu authored
with the silence fix-it comes first. This is more consistent with the rest of the warnings in -Wparentheses. llvm-svn: 179742
-
Akira Hatanaka authored
llvm-svn: 179741
-
Richard Trieu authored
llvm-svn: 179740
-
Akira Hatanaka authored
llvm-svn: 179739
-
Greg Clayton authored
Fixed a few m_private_run_lock issues when attaching and also fixed the process to not try to restart the process if the process is exited, crashed or detached. Partial patch from Carlo Kok. llvm-svn: 179738
-
Jack Carter authored
This patch should not have any functional changes. llvm-svn: 179737
-
Anna Zaks authored
In the committed example, we now see a note that tells us when the pointer was assumed to be null. This is the only case in which getDerefExpr returned null (failed to get the dereferenced expr) throughout our regression tests. (There were multiple occurrences of this one.) llvm-svn: 179736
-
Bill Wendling authored
It's sometimes beneficial to emit a testcase with the old style attribute syntax. Allow someone to do this. <rdar://problem/13563209> llvm-svn: 179735
-
Anna Zaks authored
[analyzer] Improve dereferenced expression tracking for MemberExpr with a dot and non-reference base llvm-svn: 179734
-
-
Anna Zaks authored
Thanks to Jordan for suggesting the fix. llvm-svn: 179732
-
Anna Zaks authored
[analyzer] Allow TrackConstraintBRVisitor to work when the value it’s tracking is not live in the last node of the path We always register the visitor on a node in which the value we are tracking is live and constrained. However, the visitation can restart at a node, later on the path, in which the value is under constrained because it is no longer live. Previously, we just silently stopped tracking in that case. llvm-svn: 179731
-
Argyrios Kyrtzidis authored
Typo correction for an unqualified name needs to walk through all of the identifier tables of all modules. When we have a global index, just walk its identifier table only. rdar://13425732 llvm-svn: 179730
-
- Apr 17, 2013
-
-
Michael Gottesman authored
llvm-svn: 179729
-
Nico Weber authored
See http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html llvm-svn: 179728
-
Ashok Thirumurthi authored
- Specify SC_Static given DIE attributes for static methods and operators. Thanks to Wei Pan for his review and the help with root-causing. llvm-svn: 179727
-
Rafael Espindola authored
* We only ever specialize these templates with an instantiation of ELFType, so we don't need a template template. * Replace LLVM_ELF_COMMA with just passing the individual parameters to the macro. This requires a second macro for when we only have ELFT, but that is still a small win. llvm-svn: 179726
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D598 llvm-svn: 179725
-
Chad Rosier authored
llvm-svn: 179724
-