Skip to content
  • Rafael Espindola's avatar
    cd584a80
    Split the object streamer callback in one per file format. · cd584a80
    Rafael Espindola authored
    There are two main advantages to doing this
    
    * Targets that only need to handle one of the formats specially don't have
      to worry about the others. For example, x86 now only registers a
      constructor for the COFF streamer.
    
    * Changes to the arguments passed to one format constructor will not impact
      the other formats.
    
    llvm-svn: 232699
    cd584a80
    Split the object streamer callback in one per file format.
    Rafael Espindola authored
    There are two main advantages to doing this
    
    * Targets that only need to handle one of the formats specially don't have
      to worry about the others. For example, x86 now only registers a
      constructor for the COFF streamer.
    
    * Changes to the arguments passed to one format constructor will not impact
      the other formats.
    
    llvm-svn: 232699
Loading