Skip to content
  1. Dec 04, 2012
  2. Dec 03, 2012
  3. Dec 02, 2012
  4. Dec 01, 2012
  5. Nov 30, 2012
  6. Nov 29, 2012
    • Alexey Samsonov's avatar
      This patch exposes to Clang users three more sanitizers are experimental features of ASan: · 0e96becf
      Alexey Samsonov authored
      1) init-order sanitizer: initialization-order checker.
      Status: usable, but may produce false positives w/o proper blacklisting.
      2) use-after-return sanitizer
      Status: implemented, but heavily understed.
      Should be optional, as it significanlty slows program down.
      3) use-after-scope sanitizer
      Status: in progress.
      
      llvm-svn: 168950
      0e96becf
    • Rafael Espindola's avatar
      Merge function types in C. · 8778c280
      Rafael Espindola authored
      Among other differences, GCC accepts
      
        typedef int IA[];
        typedef int A10[10];
        static A10 *f(void);
        static IA  *f(void);
        void g(void) {
          (void)sizeof(*f());
        }
      
      but clang used to reject it with:
      
        invalid application of 'sizeof' to an incomplete type 'IA' (aka 'int []')
      
      The intention of c99's 6.2.7 seems to be that we should use the composite type
      and accept as gcc does.
      
      Doing the type merging required some extra fixes:
        * Use the type from the function type in initializations, even if an parameter
          is available.
        * Fix the merging of the noreturn attribute in function types.
        * Make CodeGen  handle the fact that an parameter type can be different from
          the corresponding type in the function type.
      
      llvm-svn: 168895
      8778c280
    • Fariborz Jahanian's avatar
      objective-C blocks: Make sure that identical logic is used · 998f0a33
      Fariborz Jahanian authored
      in deciding a copy/dispose field is needed in a byref structure
      and when generating the copy/dispose helpers. In certain
      cases, these fields were being added but no copy/dispose was
      being generated. This was uncovered in ARC, but not in MRR.
      // rdar://12759433
      
      llvm-svn: 168825
      998f0a33
  7. Nov 28, 2012
  8. Nov 27, 2012
    • Will Dietz's avatar
      Add -fsanitize=integer for reporting suspicious integer behaviors. · 1897cb3b
      Will Dietz authored
      Introduces new sanitizer "unsigned-integer-overflow".
      
      llvm-svn: 168701
      1897cb3b
    • Bill Schmidt's avatar
      This patch addresses an incompatibility relative to the 64-bit PowerPC · 90b22c9d
      Bill Schmidt authored
      ELF ABI.
      
      Complex values are to be passed in registers as though the real and
      imaginary parts were passed as separate parameters.  Prior to this
      patch, complex values were passed as byval aggregates.  It turns out
      that specifying getDirect() for all complex types when classifying the
      argument type results in the desired behavior.
      
      The new Clang test case verifies that the correct LLVM IR is generated
      for caller and callee for each of the underlying types for _Complex.
      
      llvm-svn: 168673
      90b22c9d
  9. Nov 26, 2012
  10. Nov 23, 2012
  11. Nov 20, 2012
  12. Nov 17, 2012
  13. Nov 16, 2012
    • Richard Smith's avatar
      A step towards sorting out handling of triviality of special members in C++11. · 16488472
      Richard Smith authored
      Separate out the notions of 'has a trivial special member' and 'has a
      non-trivial special member', and use them appropriately. These are not
      opposites of one another (there might be no special member, or in C++11 there
      might be a trivial one and a non-trivial one). The CXXRecordDecl predicates
      continue to produce incorrect results, but do so in fewer cases now, and
      they document the cases where they might be wrong.
      
      No functionality changes are intended here (they will come when the predicates
      start producing the right answers...).
      
      llvm-svn: 168119
      16488472
    • Eli Friedman's avatar
      Make sure CodeGenTypes correctly reconverts function types. Fixes PR14355, a... · ab197128
      Eli Friedman authored
      Make sure CodeGenTypes correctly reconverts function types.  Fixes PR14355, a crash in IR generation.
      
      llvm-svn: 168112
      ab197128
  14. Nov 15, 2012
  15. Nov 14, 2012
  16. Nov 13, 2012
  17. Nov 10, 2012
Loading