Skip to content
  1. Nov 29, 2007
  2. Nov 28, 2007
  3. Nov 14, 2007
    • Ted Kremenek's avatar
      SourceManager, IdentifierTable, Selectors are now serialized in their own · 31ae9737
      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
      31ae9737
  4. Nov 13, 2007
  5. Nov 10, 2007
    • Ted Kremenek's avatar
      Modifed the test serialization driver to... · 11d700bf
      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
      11d700bf
  6. Nov 07, 2007
  7. Nov 06, 2007
  8. Nov 05, 2007
  9. Oct 24, 2007
  10. Oct 17, 2007
    • Hartmut Kaiser's avatar
      Updated VC++ build system. · 7078da8e
      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
      7078da8e
    • Anders Carlsson's avatar
      Fix the build. · 86edafc6
      Anders Carlsson authored
      llvm-svn: 43057
      86edafc6
    • Ted Kremenek's avatar
      Started work on clang object serialization. Experimental · 4e816133
      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
      4e816133
Loading