Skip to content
  1. Jun 23, 2009
  2. Jun 18, 2009
  3. Jun 17, 2009
  4. Jun 16, 2009
  5. Jun 08, 2009
  6. Jun 06, 2009
  7. Jun 05, 2009
  8. Jun 04, 2009
  9. Jun 03, 2009
  10. Jun 02, 2009
  11. May 28, 2009
  12. May 26, 2009
  13. May 23, 2009
  14. May 22, 2009
  15. May 19, 2009
  16. May 18, 2009
  17. May 13, 2009
  18. May 06, 2009
    • Daniel Dunbar's avatar
      Tweak x86 -mcpu defaults. · e5ae096b
      Daniel Dunbar authored
       - Default to yonah on Darwin (to get SSE3).
      
       - Default to Pentium4 (32-bit) and x86-64 (64-bit) on
         non-Darwin. Welcome to the 21st century.
      
      llvm-svn: 71069
      e5ae096b
    • Daniel Dunbar's avatar
      Improve handling of (X86) target features. · 4dbaaa6f
      Daniel Dunbar authored
       - This is a WIP...
      
       - This adds -march= handling to the driver, and fixes the defaulting
         of -mcpu on Darwin (which was using the wrong test).
      
      Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as
       -target-feature [+-]name
      
      In clang-cc, communicate with the (clang) target to discover the legal
      features of a target, and the features which are enabled based on
      -mcpu. This is currently hardcoded just enough to not be a feature
      regression, we need to get this information from the backend's
      TableGen information somehow.
      
      This is used to construct the full list of features which are being
      used, which is in turn used to initialize the predefines.
      
      llvm-svn: 71061
      4dbaaa6f
    • Daniel Dunbar's avatar
      Add --analyze-auto. · 5e051f9a
      Daniel Dunbar authored
       - Currently just an alias for --analyze, eventually we want to refit
         --analyze so that it is less automatic (i.e., does not force plist
         output and does not hard code the list of checks).
      
      llvm-svn: 71056
      5e051f9a
  19. May 04, 2009
    • Daniel Dunbar's avatar
      Add -fobjc-tight-layout. · e993ba6f
      Daniel Dunbar authored
       - This implements gcc style Objective-C interface layout (I
         think). Currently it is always off, there is no functionality
         change unless this is passed.
         
         For the curious, the deal is that gcc lays out the fields of a
         subclass as if they were part of the superclass. That is, the
         subclass fields immediately follow the super class fields instead
         of being padded to the alignment of the superclass structure.
      
       - Currently gcc uses the tight layout in 32-bit and 64-bit modes, and
         llvm-gcc uses it in 32-bit only, for reasons which aren't clear
         yet. We probably want to switch to matching gcc, once this makes it
         through testing... my hope is that we can also fix llvm-gcc in
         order to maintain compatibility between the compilers.
      
      llvm-svn: 70827
      e993ba6f
  20. May 02, 2009
  21. May 01, 2009
    • Douglas Gregor's avatar
      Implement -fmessage-length=N, which word-wraps diagnostics to N columns. · 4818553a
      Douglas Gregor authored
      Also, put a line of whitespace between the diagnostic and the source
      code/caret line when the start of the actual source code text lines up
      (or nearly lines up) with the most recent line of the diagnostic. For
      example, here it's okay for the last line of the diagnostic to be
      (vertically) next to the source line, because there is horizontal
      whitespace to separate them:
      
      decl-expr-ambiguity.cpp:12:16: error: function-style cast to a builtin
            type can only take one argument
        typeof(int)(a,5)<<a;
      
      However, here is a case where we need the vertical separation (since
      there is no horizontal separation):
      
      message-length.c:10:46: warning: incompatible pointer types initializing 'void
            (int, float, char, float)', expected 'int (*)(int, float, short,
            float)'
      
            int (*fp1)(int, float, short, float) = f;
      
      This is part one of <rdar://problem/6711348>.
      
      llvm-svn: 70578
      4818553a
  22. Apr 30, 2009
  23. Apr 29, 2009
  24. Apr 28, 2009
  25. Apr 27, 2009
Loading