Skip to content
  1. Apr 06, 2016
  2. Apr 05, 2016
  3. Apr 04, 2016
    • Teresa Johnson's avatar
      Clean up calls to WriteBitcodeToFile (NFC) · 3c35e099
      Teresa Johnson authored
      Remove a default parameter value being passed unnecessarily, which
      also reduces the changes required when this parameter is changed in
      D18763.
      
      Document the remaining non-default bool value passed for another
      parameter.
      
      llvm-svn: 265348
      3c35e099
    • Teresa Johnson's avatar
      clang-format llvm-as.cpp (NFC) · 7ddec63d
      Teresa Johnson authored
      This reduces unrelated changes in other patches (such as D18763) when
      changes to this file are clang formatted.
      
      llvm-svn: 265346
      7ddec63d
  4. Apr 02, 2016
    • Duncan P. N. Exon Smith's avatar
      ValueMapper: Add support for seeding metadata with nullptr · da4a56d1
      Duncan P. N. Exon Smith authored
      Support seeding a ValueMap with nullptr for Metadata entries, a
      situation I didn't consider in the Metadata/Value split.
      
      I added a ValueMapper::getMappedMD accessor that returns an
      Optional<Metadata*> with the mapped (possibly null) metadata.  IRMover
      needs to use this to avoid modifying the map when it's checking for
      unneeded subprograms.  I updated a call from bugpoint since I find the
      new code clearer.
      
      llvm-svn: 265228
      da4a56d1
  5. Apr 01, 2016
  6. Mar 30, 2016
  7. Mar 29, 2016
  8. Mar 28, 2016
    • Evgeniy Stepanov's avatar
      Remove personality for declarations in CloneModule. · f575b268
      Evgeniy Stepanov authored
      Personality is copied as part of copyFunctionAttributes, but it is
      invalid on a declaration. Remove the personality attribute it the
      function body is not cloned.
      
      Also add a verifier run over output modules in the llvm-split tool.
      
      llvm-svn: 264667
      f575b268
    • Adrian Prantl's avatar
      Add an IR Verifier check for orphaned DICompileUnits. · faebbb05
      Adrian Prantl authored
      A DICompileUnit that is not listed in llvm.dbg.cu will cause assertion
      failures and/or crashes in the backend. The Verifier should reject this.
      
      rdar://problem/25369499
      
      llvm-svn: 264657
      faebbb05
    • Hemant Kulkarni's avatar
      [llvm-readobj] NFC Replace case by macros for PT_* enums · 7d564ba1
      Hemant Kulkarni authored
      llvm-svn: 264595
      7d564ba1
    • Hemant Kulkarni's avatar
      [llvm-size] Implement --common option · 274457e5
      Hemant Kulkarni authored
      Differential Revision: http://reviews.llvm.org/D16820
      
      llvm-svn: 264591
      274457e5
    • Duncan P. N. Exon Smith's avatar
      Reapply ~"Bitcode: Collect all MDString records into a single blob" · 6565a0d4
      Duncan P. N. Exon Smith authored
      Spiritually reapply commit r264409 (reverted in r264410), albeit with a
      bit of a redesign.
      
      Firstly, avoid splitting the big blob into multiple chunks of strings.
      
      r264409 imposed an arbitrary limit to avoid a massive allocation on the
      shared 'Record' SmallVector.  The bug with that commit only reproduced
      when there were more than "chunk-size" strings.  A test for this would
      have been useless long-term, since we're liable to adjust the chunk-size
      in the future.
      
      Thus, eliminate the motivation for chunk-ing by storing the string sizes
      in the blob.  Here's the layout:
      
          vbr6: # of strings
          vbr6: offset-to-blob
          blob:
             [vbr6]: string lengths
             [char]: concatenated strings
      
      Secondly, make the output of llvm-bcanalyzer readable.
      
      I noticed when debugging r264409 that llvm-bcanalyzer was outputting a
      massive blob all in one line.  Past a small number, the strings were
      impossible to split in my head, and the lines were way too long.  This
      version adds support in llvm-bcanalyzer for pretty-printing.
      
          <STRINGS abbrevid=4 op0=3 op1=9/> num-strings = 3 {
            'abc'
            'def'
            'ghi'
          }
      
      From the original commit:
      
      Inspired by Mehdi's similar patch, http://reviews.llvm.org/D18342, this
      should (a) slightly reduce bitcode size, since there is less record
      overhead, and (b) greatly improve reading speed, since blobs are super
      cheap to deserialize.
      
      llvm-svn: 264551
      6565a0d4
  9. Mar 26, 2016
  10. Mar 25, 2016
  11. Mar 24, 2016
Loading