Skip to content
Snippets Groups Projects
  1. Nov 30, 2013
  2. Nov 26, 2013
  3. Nov 20, 2013
  4. Nov 18, 2013
  5. Nov 15, 2013
    • Alp Toker's avatar
      Revert "Using an invalid -O falls back on -O3 instead of an error" · e22017e0
      Alp Toker authored
      Trying to fix test failures since earlier today.
      
      One of the tests added in this commit is outputting test/Driver/clang_f_opts.s
      which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are
      trying to run as a test case, causing failures.
      
      clang_f_opts.c:
        If -### doesn't emit the warning then this test probably shouldn't be in
        here in the first place. Frontend maybe?
      
      invalid-o-level.c:
        Running %clang_cc1 in the Driver tests doesn't make sense because -cc1
        bypasses the driver. (I'm not reverting the commit that introduced this but
        please fix instead of keeping it this way.)
      
      Reverting to fix the build failures and also so that the tests can be thought
      out more thoroughly.
      
      This reverts commit r194817.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194845 91177308-0d34-0410-b5e6-96231b3b80d8
      e22017e0
    • Sylvestre Ledru's avatar
      Using an invalid -O falls back on -O3 instead of an error · eb4d7c3f
      Sylvestre Ledru authored
      Summary:
      Currently with clang:
      $ clang -O20 foo.c
      error: invalid value '20' in '-O20'
      
      With the patch:
      $ clang -O20 foo.c
      warning: optimization level '-O20' is unsupported; using '-O3' instead.
      1 warning generated.
      
      This matches the gcc behavior (with a warning added)
      
      Pass all tests:
      Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
      Testing Time: 94.14s
        Expected Passes    : 6721
        Expected Failures  : 20
        Unsupported Tests  : 17
      
      (which was not the case of http://llvm-reviews.chandlerc.com/D2125)
      
      Reviewers: chandlerc, rafael, rengolin, hfinkel
      
      Reviewed By: rengolin
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2152
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194817 91177308-0d34-0410-b5e6-96231b3b80d8
      eb4d7c3f
  6. Nov 11, 2013
  7. Nov 08, 2013
  8. Nov 07, 2013
  9. Nov 06, 2013
  10. Oct 29, 2013
  11. Oct 28, 2013
  12. Oct 27, 2013
  13. Oct 26, 2013
  14. Oct 24, 2013
  15. Oct 21, 2013
  16. Oct 20, 2013
  17. Oct 17, 2013
  18. Oct 16, 2013
  19. Oct 15, 2013
  20. Oct 10, 2013
  21. Oct 08, 2013
  22. Oct 03, 2013
    • Jordan Rose's avatar
      [analyzer] Add new debug helper clang_analyzer_warnIfReached. · d000b852
      Jordan Rose authored
      This will emit a warning if a call to clang_analyzer_warnIfReached is
      executed, printing REACHABLE. This is a more explicit way to declare
      expected reachability than using clang_analyzer_eval or triggering
      a bug (divide-by-zero or null dereference), and unlike the former will
      work the same in inlined functions and top-level functions. Like the
      other debug helpers, it is part of the debug.ExprInspection checker.
      
      Patch by Jared Grubb!
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191909 91177308-0d34-0410-b5e6-96231b3b80d8
      d000b852
  23. Oct 01, 2013
  24. Sep 29, 2013
Loading