Skip to content
  1. Apr 19, 2009
  2. Apr 18, 2009
  3. Apr 12, 2009
  4. Apr 10, 2009
  5. Apr 09, 2009
  6. Apr 08, 2009
    • Chris Lattner's avatar
    • Daniel Dunbar's avatar
      More fixes to builtin preprocessor defines. · 17ddaa67
      Daniel Dunbar authored
       - Add -static-define option driver can use when __STATIC__ should be
         defined (instead of __DYNAMIC__).
      
       - Don't set __OPTIMIZE_SIZE__ on Os, __OPTIMIZE_SIZE__ is tied to Oz.
      
       - Set __NO_INLINE__ following GCC 4.2.
      
       - Set __GNU_GNU_INLINE__ or __GNU_STDC_INLINE__ following GCC 4.2.
      
       - Set __EXCEPTIONS for Objective-C NonFragile ABI.
      
       - Set __STRICT_ANSI__ for standard conforming modes.
      
       - I added a clang style test case in utils for this, but its not
         particularly portable and I don't think it belongs in the test
         suite.
      
      llvm-svn: 68621
      17ddaa67
    • Daniel Dunbar's avatar
      Set __PIC__ (more) correctly. · ab7b2f56
      Daniel Dunbar authored
       - Add -pic-level clang-cc option to specify the value for the define,
         updated driver to pass this.
      
       - Added __pic__
      
       - Added OBJC_ZEROCOST_EXCEPTIONS define while I was here (to match gcc).
      
      llvm-svn: 68584
      ab7b2f56
  7. Apr 07, 2009
  8. Apr 06, 2009
  9. Apr 01, 2009
    • Daniel Dunbar's avatar
      Pull clang-cc code for generating PTH files based on the input type. · 386ef885
      Daniel Dunbar authored
       - <rdar://problem/6741594> [pth] don't abuse -x to drive pth
         generation
      
       - Simpler, and fixes PR3915.
      
      Cleanup test cases for PTH:
       - Update to use -emit-pth
      
       - Removed PTH test of carbon.c and cocoa.mm; these didn't actually
         verify anything, and since PTH is token based the extra coverage
         (over cocoa.m) isn't particularly helpful.
      
       - Split PTH tests in cocoa.m to cocoa-pth.m, solely to increase
         available parallelism when running tests.
      
      Ted, could you update the PTH test cases (include-pth.c and
      cocoa-pth.m) to have some sort of positive check that the PTH is
      getting used? "# of PTH cache hits" or "tokens read from PTH cache"
      statistics would work great. :)
      
      llvm-svn: 68189
      386ef885
  10. Mar 25, 2009
  11. Mar 24, 2009
Loading