and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 22 Jul, 2014 8 commits
    • Bill Wendling's avatar
      Creating release_35 branch · 93c80e5b
      Bill Wendling authored
      llvm-svn: 213607
      llvm-svn: 213606
      llvm-svn: 213605
      llvm-svn: 213604
      llvm-svn: 213603
      llvm-svn: 213602
      llvm-svn: 213601
      llvm-svn: 213598
      llvm-svn: 213597
      93c80e5b
    • Richard Smith's avatar
      Revert of r213521. This change introduced a non-hermetic test (depending on a · a0cc1654
      Richard Smith authored
      file not in the test/ area). Backing out now so that this test isn't part of
      the 3.5 branch.
      
      Original commit message: "TableGen: Allow AddedComplexity values to be negative
      [...]"
      
      llvm-svn: 213596
      a0cc1654
    • Saleem Abdulrasool's avatar
      Sema: correct handling for __va_start for WoA · 202aac17
      Saleem Abdulrasool authored
      Windows ARM indicates __va_start as a variadic function.  However, the function
      itself is treated as having 4 formal arguments:
        - (out) pointer to the va_list
        - (in) address of the last named argument
        - (in) slot size for the type of the last argument
        - address of the last named argument
      
      The last argument does not seem to have any bearing on codegen, and thus is not
      explicitly type checked at this point.
      
      Unlike the previous handling for __va_start, it does not currently validate if
      the parameter is the last named parameter (it seems that MSVC currently accepts
      this).
      
      llvm-svn: 213595
      202aac17
    • Serge Pavlov's avatar
      Avoid crash if default argument parsed with errors. · b4b3578a
      Serge Pavlov authored
      If function parameters have default values, and that of the second
      parameter is parsed with errors, function declaration would have
      a parameter without default value that follows a parameter with
      that. Such declaration breaks logic of selecting overloaded
      function. As a solution, put opaque object as default value in such case.
      
      This patch fixes PR20055.
      
      Differential Revision: http://reviews.llvm.org/D4378
      
      llvm-svn: 213594
      b4b3578a
    • Reid Kleckner's avatar
      -fms-extensions: Implement half of #pragma init_seg · 1a711b16
      Reid Kleckner authored
      Summary:
      This pragma is very rare.  We could *hypothetically* lower some uses of
      it down to @llvm.global_ctors, but given that GlobalOpt isn't able to
      optimize prioritized global ctors today, there's really no point.
      
      If we wanted to do this in the future, I would check if the section used
      in the pragma started with ".CRT$XC" and had up to two characters after
      it.  Those two characters could form the 16-bit initialization priority
      that we support in @llvm.global_ctors.  We would have to teach LLVM to
      lower prioritized global ctors on COFF as well.
      
      This should let us compile some silly uses of this pragma in WebKit /
      Blink.
      
      Reviewers: rsmith, majnemer
      
      Subscribers: cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D4549
      
      llvm-svn: 213593
      1a711b16
    • Nick Kledzik's avatar
      [mach-o] Add test case for armv6 (arm not thumb) hello world · e1aaced0
      Nick Kledzik authored
      llvm-svn: 213592
      e1aaced0
    • Kate Stone's avatar
      Improve LLDB's embedded C++ demangler by addressing the following two issues: · bb1321a7
      Kate Stone authored
      1) Preserve ref qualification state in a local variable while parsing a nested name.  Previously, the state was recorded in the shared db reference and could therefore be overwritten when parsing multiple levels of nested names (e.g.: when a qualified name has qualified template args.)
      
      2) Address an off-by-one error when testing whether or not a thunk is non-virtual.  This resulted in the demangled identifying all thunks as non-virtual.
      
      llvm-svn: 213591
      bb1321a7
    • Alexey Samsonov's avatar
      [MSan] Fix strncpy interceptor · d6906e4f
      Alexey Samsonov authored
      llvm-svn: 213590
      d6906e4f
  2. 21 Jul, 2014 32 commits