Skip to content
  1. Jan 02, 2012
    • Chandler Carruth's avatar
      Undo the hack in r147427 and move this unittest to a better home. This · e517273e
      Chandler Carruth authored
      is testing the bitcode reader's functionality, not VMCore's. Add the
      what is a hope sufficient build system mojo to build and run a new
      unittest.
      
      Also clean up some of the test's naming. The goal for the file should be
      to unittest the Bitcode Reader, and this is just one particular test
      among potentially many in the future. Also, reverse my position and
      relegate the PR# to a comment, but stash the comment on the same line as
      the test name so it doesn't get lost. This makes the code more
      self-documenting hopefully w/o losing track of the PR number.
      
      llvm-svn: 147431
      e517273e
    • Chandler Carruth's avatar
      Fix unittest makefile after r147425. This should unbreak the makefile · ddb10a48
      Chandler Carruth authored
      build. This didn't show up in the CMake build because the CMake build
      for the unittests is rather poorly factored.
      
      This probably isn't the correct fix. This should be a bitcode reader
      unittest not a VMCore unittest. I'll move it and clean various parts of
      the unittest up in a follow-up patch, but I wanted to unbreak the bots.
      
      llvm-svn: 147427
      ddb10a48
    • Rafael Espindola's avatar
      Materialize functions whose basic blocks are used by global variables. Fixes · b7993465
      Rafael Espindola authored
      PR11677.
      
      llvm-svn: 147425
      b7993465
  2. Dec 22, 2011
  3. Dec 21, 2011
    • Manuel Klimek's avatar
      Changes the JSON parser to use the SourceMgr. · 25eb0ac4
      Manuel Klimek authored
      Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer
      for buffer management. Switched the code to make use of the trailing
      '0' that MemoryBuffer guarantees where it makes sense.
      
      llvm-svn: 147063
      25eb0ac4
  4. Dec 20, 2011
  5. Dec 17, 2011
  6. Dec 16, 2011
  7. Dec 12, 2011
  8. Dec 10, 2011
  9. Dec 09, 2011
  10. Dec 08, 2011
  11. Dec 05, 2011
    • Nadav Rotem's avatar
      · 3924cb02
      Nadav Rotem authored
      Add support for vectors of pointers.
      
      llvm-svn: 145801
      3924cb02
  12. Dec 02, 2011
  13. Nov 26, 2011
  14. Nov 14, 2011
  15. Nov 09, 2011
  16. Oct 24, 2011
  17. Oct 23, 2011
  18. Oct 16, 2011
  19. Oct 15, 2011
    • Benjamin Kramer's avatar
      Add a bad char heuristic to StringRef::find. · 4d681d7d
      Benjamin Kramer authored
      Based on Horspool's simplified version of Boyer-Moore. We use a constant-sized table of
      uint8_ts to keep cache thrashing low, needles bigger than 255 bytes are uncommon anyways.
      
      The worst case is still O(n*m) but we do a lot better on the average case now.
      
      llvm-svn: 142061
      4d681d7d
  20. Oct 13, 2011
  21. Oct 12, 2011
  22. Oct 08, 2011
  23. Oct 04, 2011
  24. Sep 30, 2011
  25. Sep 28, 2011
  26. Sep 14, 2011
  27. Sep 13, 2011
    • Benjamin Kramer's avatar
      Add the DataExtractor utility class. · 88a1d9fc
      Benjamin Kramer authored
      It is an endian-aware helper that can read data from a StringRef. It will
      come in handy for DWARF parsing. This class is inspired by LLDB's
      DataExtractor, but is stripped down to the bare minimum needed for DWARF.
      
      Comes with unit tests!
      
      llvm-svn: 139626
      88a1d9fc
Loading