[llvm-testresults] buildbot failure in lab.llvm.org on phase1 - sanity
llvmlab-buildmaster at lab.llvm.org
llvmlab-buildmaster at lab.llvm.org
Fri May 16 16:31:36 PDT 2014
The Buildbot has detected a new failure on builder phase1 - sanity while building cfe.
Full details are available at:
http://lab.llvm.org:8013/builders/phase1%20-%20sanity/builds/19996
Buildbot URL: http://lab.llvm.org:8013/
Buildslave for this Build: macpro1
Build Reason: scheduler
Build Source Stamp: 209046
Blamelist: rsmith
BUILD FAILED: failed
sincerely,
-The Buildbot
================================================================================
CHANGES:
Files:
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/AST/DeclObjC.h
include/clang/AST/DeclTemplate.h
include/clang/AST/ExternalASTSource.h
include/clang/AST/Redeclarable.h
include/clang/Sema/MultiplexExternalSemaSource.h
include/clang/Serialization/ASTReader.h
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/AST/DeclCXX.cpp
lib/AST/DeclObjC.cpp
lib/AST/DeclTemplate.cpp
lib/AST/ExternalASTSource.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGObjC.cpp
lib/Frontend/FrontendAction.cpp
lib/Sema/MultiplexExternalSemaSource.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/module.map
test/Modules/Inputs/redecl-add-after-load.h
test/Modules/decldef.mm
test/Modules/redecl-add-after-load.cpp
On: http://10.1.1.2/svn/llvm-project
For: cfe
At: Fri 16 May 2014 16:10:20
Changed By: rsmith
Comments: If a declaration is loaded, and then a module import adds a redeclaration, then
ensure that querying the first declaration for its most recent declaration
checks for redeclarations from the imported module.
This works as follows:
* The 'most recent' pointer on a canonical declaration grows a pointer to the
external AST source and a generation number (space- and time-optimized for
the case where there is no external source).
* Each time the 'most recent' pointer is queried, if it has an external source,
we check whether it's up to date, and update it if not.
* The ancillary data stored on the canonical declaration is allocated lazily
to avoid filling it in for declarations that end up being non-canonical.
We'll still perform a redundant (ASTContext) allocation if someone asks for
the most recent declaration from a decl before setPreviousDecl is called,
but such cases are probably all bugs, and are now easy to find.
Some finessing is still in order here -- in particular, we use a very general
mechanism for handling the DefinitionData pointer on CXXRecordData, and a more
targeted approach would be more compact.
Also, the MayHaveOutOfDateDef mechanism should now be expunged, since it was
addressing only a corner of the full problem space here. That's not covered
by this patch.
Early performance benchmarks show that this makes no measurable difference to
Clang performance without modules enabled (and fixes a major correctness issue
with modules enabled). I'll revert if a full performance comparison shows any
problems.
Properties:
LOGS:
More information about the llvm-testresults
mailing list