Skip to content
  1. Dec 01, 2012
  2. Nov 30, 2012
  3. Nov 15, 2012
  4. Nov 14, 2012
  5. Sep 21, 2012
  6. Sep 18, 2012
  7. Sep 08, 2012
  8. Sep 07, 2012
  9. Oct 16, 2011
  10. Apr 09, 2011
  11. Feb 09, 2011
    • Chris Lattner's avatar
      emit a specific error when the input file is empty. This fixes · b692bed7
      Chris Lattner authored
      an annoyance of mine when working on tests: if the input .ll file
      is broken, opt outputs an error and generates an empty file.  FileCheck
      then emits its "ooh I couldn't find the first CHECK line, scanning
      from ..." which obfuscates the actual problem.
      
      llvm-svn: 125193
      b692bed7
  12. Dec 16, 2010
  13. Dec 09, 2010
  14. Nov 29, 2010
  15. Nov 14, 2010
  16. Oct 15, 2010
  17. Aug 20, 2010
  18. Apr 06, 2010
  19. Mar 19, 2010
  20. Jan 30, 2010
  21. Jan 29, 2010
  22. Nov 29, 2009
  23. Nov 22, 2009
    • Daniel Dunbar's avatar
      FileCheck, PR5239: Try to find the intended match on failures, but looking for a · fd29d886
      Daniel Dunbar authored
      good nearby fuzzy match. Frequently the input is nearly correct, and just
      showing the user the a nearby sensible match is enough to diagnose the problem.
       - The "fuzzyness" is pretty simple and arbitrary, but worked on my three test
         cases. If you encounter problems, or places you think FileCheck should have
         guessed but didn't, please add test cases to PR5239.
      
      For example, previously FileCheck would report this:
      --
      t.cpp:21:55: error: expected string not found in input
      // CHECK: define void @_Z2f25f2_s1([[i64_i64_ty]] %a0)
                                                            ^
      <stdin>:19:30: note: scanning from here
      define void @_Z2f15f1_s1(%1) nounwind {
                                   ^
      <stdin>:19:30: note: with variable "i64_i64_ty" equal to "%0"
      --
      
      and now it also reports this:
      --
      <stdin>:27:1: note: possible intended match here
      define void @_Z2f25f2_s1(%0) nounwind {
      ^
      --
      
      which makes it clear that the CHECK just has an extra ' %a0' in it, without
      having to check the input.
      
      llvm-svn: 89631
      fd29d886
    • Daniel Dunbar's avatar
      FileCheck: When a string using variable references fails to match, print · e0ef65ab
      Daniel Dunbar authored
      additional information about the current definitions of the variables used in
      the string.
      
      llvm-svn: 89628
      e0ef65ab
    • Daniel Dunbar's avatar
      Allow '_' in FileCheck variable names, it is nice to have at least one · 57cb733b
      Daniel Dunbar authored
      separate character.
       - Chris, OK?
      
      llvm-svn: 89626
      57cb733b
  24. Sep 27, 2009
  25. Sep 26, 2009
  26. Sep 25, 2009
  27. Sep 24, 2009
Loading