- 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
-