- Nov 29, 2007
-
-
Ted Kremenek authored
llvm-svn: 44438
-
Ted Kremenek authored
both before and after serialization/deserialization. If the CFGs between the pre- and post- serialized/deserialized ASTs differ, the serialization has failed. llvm-svn: 44429
-
- Nov 28, 2007
-
-
Ted Kremenek authored
a bug where the statement pretty-printer used iostreams but the AST printer did not. This was an issue when dumping ASTs to something other than stderr. Updated SerializationTest to use the new iostreams interface for the AST printer. llvm-svn: 44417
-
Ted Kremenek authored
(1) Parsed ASTs are pretty-printed to a text file. (2) The ASTs are serialized to disk. (3) The ASTs are deserialized from disk. (4) The deserialized ASTs are pretty-printed to a text file. (5) The two pretty-printed files are compared. If they are different, the test fails. llvm-svn: 44411
-
- Nov 14, 2007
-
-
Ted Kremenek authored
block separate from ASTContext. This block is serialized out AFTER writing out ASTContext, but deserialized BEFORE reading in ASTContext. This permits the optimization of the serialization of the IdentifierTable where we only write out identifiers that are used. This was needed because TagDecls are owned by Types, and TagDecls contain identifiers. Thus types need to be written out first to register with the serializer any identifiers they refer to (and hence need to be serialized out with IdentifierTable). llvm-svn: 44125
-
- Nov 13, 2007
-
-
Ted Kremenek authored
llvm-svn: 44078
-
- Nov 10, 2007
-
-
Ted Kremenek authored
(1) serialize out top-level decls BEFORE serializing out translation unit structures like ASTContext. (2) deserialize out translation unit structures like ASTContext before top-level decls by first skipping the decls in the bitstream, deserializing ASTContext and friends, and then jumping back to the bitstream block with the decls and then deserializing them. Change (1) allows us to utilize the pointer-tracking system in the Serializer to only serialize out metadata that is actually referenced by the ASTS. Change (2) allows us to deserialize the metadata first as before, which signficantly reduces the amount of pointer backpatching the deserializer would have to do if the decls were deserialized first. llvm-svn: 43974
-
- Nov 07, 2007
-
-
Ted Kremenek authored
llvm-svn: 43790
-
- Nov 06, 2007
-
-
Ted Kremenek authored
file had the correct preamble. llvm-svn: 43785
-
Ted Kremenek authored
Revampled Serialization Tester to serialize and deserialize out an entire ASTContext and top-level decls. llvm-svn: 43773
-
- Nov 05, 2007
-
-
Ted Kremenek authored
llvm-svn: 43738
-
- Oct 24, 2007
-
-
Ted Kremenek authored
new split-header file configuration (Serialize.h and Deserialize.h) now in place in the core LLVM repository. Removed unneeded SerializeTrait specializations for enums in TokenKinds.h llvm-svn: 43306
-
Ted Kremenek authored
Updated serialization test code in the driver to test serialization of these types. llvm-svn: 43266
-
- Oct 17, 2007
-
-
Hartmut Kaiser authored
Silenced some VC++ warnings. Had to rephrase a partial specialization of the IntrospectionTrait struct in SerializationTest.cpp, please review. Added a compiler specific workaround in IdentifierTable.h. Is that the way to fix this kind of issues? llvm-svn: 43074
-
Anders Carlsson authored
llvm-svn: 43057
-
Ted Kremenek authored
serialization logic as well as driver code is now in Driver/SerializationTest.cpp. The status of this code is that it should be used by no clients. Added --test-pickling option to driver to run the serialization code. Modified IdentifierInfo and IdentifierTable to have friend classes that permit object serialization. Such friendship may not be needed in the final design. llvm-svn: 43052
-