Skip to content
  1. Aug 19, 2014
    • Duncan P. N. Exon Smith's avatar
      IR: Implement uselistorder assembly directives · 0a448fbc
      Duncan P. N. Exon Smith authored
      Implement `uselistorder` and `uselistorder_bb` assembly directives,
      which allow the use-list order to be recovered when round-tripping to
      assembly.
      
      This is the bulk of PR20515.
      
      llvm-svn: 216025
      0a448fbc
    • Duncan P. N. Exon Smith's avatar
      verify-uselistorder: Force -preserve-bc-use-list-order · c8eccd11
      Duncan P. N. Exon Smith authored
      llvm-svn: 216022
      c8eccd11
    • Rafael Espindola's avatar
      Don't own the buffer in object::Binary. · 48af1c2a
      Rafael Espindola authored
      Owning the buffer is somewhat inflexible. Some Binaries have sub Binaries
      (like Archive) and we had to create dummy buffers just to handle that. It is
      also a bad fit for IRObjectFile where the Module wants to own the buffer too.
      
      Keeping this ownership would make supporting IR inside native objects
      particularly painful.
      
      This patch focuses in lib/Object. If something elsewhere used to own an Binary,
      now it also owns a MemoryBuffer.
      
      This patch introduces a few new types.
      
      * MemoryBufferRef. This is just a pair of StringRefs for the data and name.
        This is to MemoryBuffer as StringRef is to std::string.
      * OwningBinary. A combination of Binary and a MemoryBuffer. This is needed
        for convenience functions that take a filename and return both the
        buffer and the Binary using that buffer.
      
      The C api now uses OwningBinary to avoid any change in semantics. I will start
      a new thread to see if we want to change it and how.
      
      llvm-svn: 216002
      48af1c2a
    • Rafael Espindola's avatar
      Modernize the .ll parsing interface. · 11c07d7e
      Rafael Espindola authored
      * Use StringRef instead of std::string&
      * Return a std::unique_ptr<Module> instead of taking an optional module to write
        to (was not really used).
      * Use current comment style.
      * Use current naming convention.
      
      llvm-svn: 215989
      11c07d7e
    • Rafael Espindola's avatar
      2a8a2795
    • Duncan P. N. Exon Smith's avatar
      verify-uselistorder: Call verifyModule() and improve output · 8e366958
      Duncan P. N. Exon Smith authored
      Call `verifyModule()` after parsing and after every transformation.
      Also convert some `DEBUG(dbgs())` to `errs()` to increase visibility
      into what's going on.
      
      llvm-svn: 215951
      8e366958
  2. Aug 18, 2014
  3. Aug 17, 2014
  4. Aug 14, 2014
  5. Aug 13, 2014
  6. Aug 12, 2014
  7. Aug 11, 2014
  8. Aug 08, 2014
  9. Aug 07, 2014
  10. Aug 05, 2014
    • Lang Hames's avatar
      [MCJIT] Make llvm-rtdyld check RuntimeDyld's error state when running in -verify · ae17268a
      Lang Hames authored
      mode.
      
      This will cause -verify mode to report failure when RuntimeDyld encounters an
      internal error (e.g. overflows in relocation computations). Previously we had
      let these errors slip past unreported.
      
      llvm-svn: 214925
      ae17268a
    • Rafael Espindola's avatar
      Don't internalize all but main by default. · f9e52cf0
      Rafael Espindola authored
      This is mostly a cleanup, but it changes a fairly old behavior.
      
      Every "real" LTO user was already disabling the silly internalize pass
      and creating the internalize pass itself. The difference with this
      patch is for "opt -std-link-opts" and the C api.
      
      Now to get a usable behavior out of opt one doesn't need the funny
      looking command line:
      
      opt -internalize -disable-internalize -internalize-public-api-list=foo,bar -std-link-opts
      
      llvm-svn: 214919
      f9e52cf0
  11. Aug 04, 2014
  12. Aug 02, 2014
  13. Aug 01, 2014
  14. Jul 31, 2014
Loading