[cfe-commits] r143037 - in /cfe/trunk: lib/Serialization/ASTReaderDecl.cpp lib/Serialization/ASTWriterDecl.cpp test/Index/Inputs/redeclarations.h test/Index/redeclarations.cpp
dgregor at apple.com
Wed Oct 26 13:36:20 PDT 2011
On Oct 26, 2011, at 1:22 PM, Eli Friedman wrote:
> On Wed, Oct 26, 2011 at 10:53 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Wed Oct 26 12:53:41 2011
>> New Revision: 143037
>> URL: http://llvm.org/viewvc/llvm-project?rev=143037&view=rev
>> Eliminate a hang while loading a sequence of redeclarable entities. In
>> essence, the redeclaration chain for a class could end up in an
>> inconsistent state while deserializing multiple declarations in that
>> chain, where the circular linked list was not, in fact,
>> circular. Since only two redeclarations of the same entity will get
>> loaded when we're in this state, restore circularity when both have
>> been loaded. Fixes <rdar://problem/10324940> / PR11195.
> This appears to be causing a test failure on smooshlab on Windows.
Grrr. Tried to fix with r143048.
More information about the cfe-commits