Skip to content
  1. Dec 19, 2011
  2. Dec 18, 2011
    • Benjamin Kramer's avatar
      Silence gcc warnings. · 198e0836
      Benjamin Kramer authored
      llvm-svn: 146847
      198e0836
    • Richard Smith's avatar
      PR11604: don't allow floating-literal-to-integer casts in ICEs if the (truncated) · 0b973d09
      Richard Smith authored
      floating literal value does not fit into the destination type. Such casts have
      undefined behavior at translation time; treating them as non-ICE matches the
      behavior of modern gcc versions.
      
      llvm-svn: 146842
      0b973d09
    • Douglas Gregor's avatar
      Completely re-implement (de-)serialization of declaration · 05f10357
      Douglas Gregor authored
      chains. The previous implementation relied heavily on the declaration
      chain being stored as a (circular) linked list on disk, as it is in
      memory. However, when deserializing from multiple modules, the
      different chains could get mixed up, leading to broken declaration chains.
      
      The new solution keeps track of the first and last declarations in the
      chain for each module file. When we load a declaration, we search all
      of the module files for redeclarations of that declaration, then
      splice together all of the lists into a coherent whole (along with any
      redeclarations that were actually parsed). 
      
      As a drive-by fix, (de-)serialize the redeclaration chains of
      TypedefNameDecls, which had somehow gotten missed previously. Add a
      test of this serialization.
      
      This new scheme creates a redeclaration table that is fairly large in
      the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
      table is mmap'd in and searched via a binary search, but it's still
      quite large. A future tweak will eliminate entries for declarations
      that have no redeclarations anywhere, and should
      drastically reduce the size of this table.
      
      llvm-svn: 146841
      05f10357
    • Chandler Carruth's avatar
      Split the Windows toolchain definition into its own file. This is · 1fc603e5
      Chandler Carruth authored
      especially nice as the Windows toolchain needs the windows header files,
      and has lots of platform specific hooks in it.
      
      To facilitate the split, hoist a bunch of file-level static helpers into
      class-level static helpers. Spiff up their doxygen comments while there
      as they're now more likely to be looked up via docs.
      
      Hopefully, this will be followed by further breaking apart of the
      toolchain definitions. Most of the large and complex ones should likely
      live on their own. I'm looking at you Darwin. ;]
      
      llvm-svn: 146840
      1fc603e5
  3. Dec 17, 2011
  4. Dec 16, 2011
Loading