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

  1. 22 May, 2013 12 commits
    • Bill Wendling's avatar
      Reverting these patches. They were causing regressions. :-( · ce59b557
      Bill Wendling authored
      --- Reverse-merging r182522 into '.':
      U    source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
       U   .
      --- Reverse-merging r182521 into '.':
      U    source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
       G   .
      --- Reverse-merging r182520 into '.':
      U    source/Core/ValueObjectVariable.cpp
       G   .
      --- Reverse-merging r182519 into '.':
      U    source/Symbol/Variable.cpp
       G   .
      --- Reverse-merging r182518 into '.':
      U    source/Plugins/Process/Linux/ProcessMonitor.cpp
      U    source/Plugins/Process/Linux/ProcessLinux.h
       G   .
      --- Reverse-merging r182517 into '.':
      G    source/Plugins/Process/Linux/ProcessMonitor.cpp
       G   .
      --- Reverse-merging r182516 into '.':
      U    source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
      U    source/Expression/DWARFExpression.cpp
      U    source/Expression/Materializer.cpp
      U    source/Expression/ClangExpressionDeclMap.cpp
       G   .
      
      llvm-svn: 182525
      ce59b557
    • Bill Wendling's avatar
      Merging r182441: · 04df32da
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182441 | gclayton | 2013-05-21 17:10:28 -0700 (Tue, 21 May 2013) | 5 lines
      
      <rdar://problem/13455021>
      
      Another fix to make sure that if we aren't able to extract an object file for any reason, we don't crash when trying to parse the debug map info.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182522
      04df32da
    • Bill Wendling's avatar
      Merging r182437: · 443d96c7
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182437 | gclayton | 2013-05-21 16:36:34 -0700 (Tue, 21 May 2013) | 5 lines
      
      <rdar://problem/13455021>
      
      lldb crashes with universal file containing skinny BSD archives when doing DWARF with .o file debugging.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182521
      443d96c7
    • Bill Wendling's avatar
      Merging r182326: · fd633af7
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182326 | enrico | 2013-05-20 15:49:13 -0700 (Mon, 20 May 2013) | 3 lines
      
      <rdar://problem/13925626>
      
      Replacing an assertion with an error - at least we won’t crash
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182520
      fd633af7
    • Bill Wendling's avatar
      Merging r182301: · 2c1a768e
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182301 | gclayton | 2013-05-20 09:50:51 -0700 (Mon, 20 May 2013) | 3 lines
      
      Patch from Yacine Belkadi that fixes an issue in Variable::GetValuesForVariableExpressionPath().
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182519
      2c1a768e
    • Bill Wendling's avatar
      Merging r182166: · 4b65dbc3
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182166 | mkopec | 2013-05-17 15:21:08 -0700 (Fri, 17 May 2013) | 3 lines
      
      The Linux process plugin wasn't returning the correct linux signals. This fixes that.
      Thus, this patch also negates a previous fix for handling SIGCHLD.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182518
      4b65dbc3
    • Bill Wendling's avatar
      Merging r182153: · 6ed251ef
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182153 | mkopec | 2013-05-17 12:27:47 -0700 (Fri, 17 May 2013) | 5 lines
      
      ProcessMonitor improvements for Linux.
      -Remove tracing of fork/vfork until we add support for tracing inferiors' children on Linux.
      -Add trace exec option for ptrace so that we don't receive legacy SIGTRAP signals on execve calls.
      -Add handling of SIGCHLD sent by kernel (for now, deliver the signal to the inferior).
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182517
      6ed251ef
    • Bill Wendling's avatar
      Merging r182066: · 33a47c22
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182066 | gclayton | 2013-05-16 17:55:28 -0700 (Thu, 16 May 2013) | 5 lines
      
      <rdar://problem/13893094>
      
      Show variables that were in the debug info but optimized out. Also display a good error message when one of these variables get used in an expression.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182516
      33a47c22
    • Bill Wendling's avatar
      Merging r182485: · e5e9018d
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182485 | arnolds | 2013-05-22 09:54:56 -0700 (Wed, 22 May 2013) | 7 lines
      
      LoopVectorize: Make Value pointers that could be RAUW'ed a VH
      
      The Value pointers we store in the induction variable list can be RAUW'ed by a
      call to SCEVExpander::expandCodeFor, use a TrackingVH instead. Do the same thing
      in some other places where we store pointers that could potentially be RAUW'ed.
      
      Fixes PR16073.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182492
      e5e9018d
    • Bill Wendling's avatar
      Merging r182486: · e4c54e3d
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182486 | d0k | 2013-05-22 10:01:12 -0700 (Wed, 22 May 2013) | 3 lines
      
      X86: When expanding PCMPGTQ to PCMPGTD we always want to compare the lower halves as unsigned.
      
      Take #2 on fixing PR15977.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182489
      e4c54e3d
    • Ashok Thirumurthi's avatar
    • Ashok Thirumurthi's avatar
      83cf5913
  2. 21 May, 2013 12 commits
    • Bill Wendling's avatar
      Merging r181363: · 84401c83
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181363 | cdavis | 2013-05-07 14:14:15 -0700 (Tue, 07 May 2013) | 3 lines
      
      MCStreamer: Also clear vector of W64UnwindInfos on reset().
      
      Patch by Kai Nacke!
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182439
      84401c83
    • Bill Wendling's avatar
      Merging r181366: · 49066817
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181366 | enderby | 2013-05-07 14:40:58 -0700 (Tue, 07 May 2013) | 6 lines
      
      Fix a bug in the MC asm parser evaluating expressions.  It was treating:
      A = 9
      B = 3 * A - 2 * A + 1 as  B = 3 * A - (2 * A + 1)
      
      rdar://13816516
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182438
      49066817
    • Bill Wendling's avatar
      Merging r182385: · 8dd2f524
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182385 | hfinkel | 2013-05-21 07:21:09 -0700 (Tue, 21 May 2013) | 9 lines
      
      Fix PPC branch selection for counter-based branches
      
      Although I had added some support for the BDZ/BDNZ branches into the selector
      (in r158204), I had not correctly adjusted the condition at the top of the
      loop. As a result, these branches were still essentially unsupported.
      
      This fixes PR16086. Unfortunately, any test case would be very large (because
      it would need to force the loop backedge to exceed the range of the 16-bit
      immediate).
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182431
      8dd2f524
    • Bill Wendling's avatar
      Merging r182387: · f18b8f68
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182387 | jholewinski | 2013-05-21 07:37:16 -0700 (Tue, 21 May 2013) | 7 lines
      
      Drop @llvm.annotation and @llvm.ptr.annotation intrinsics during codegen.
      
      The intrinsic calls are dropped, but the annotated value is propagated.
      
      Fixes PR 15253
      
      Original patch by Zeng Bin!
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182417
      f18b8f68
    • Bill Wendling's avatar
      Merging r182112: · c7b127f1
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182112 | tstellar | 2013-05-17 08:23:12 -0700 (Fri, 17 May 2013) | 1 line
      
      R600: Pass MCSubtargetInfo reference to R600CodeEmitter
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182416
      c7b127f1
    • Bill Wendling's avatar
      Merging r182364: · 1e6a22f0
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182364 | d0k | 2013-05-21 02:58:54 -0700 (Tue, 21 May 2013) | 4 lines
      
      X86: When emulating unsigned PCMPGTQ with PCMPGTD, fix the sign bit for the smaller type.
      
      Otherwise we'll get a mix of signed and unsigned compares.
      Fixes PR15977.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182413
      1e6a22f0
    • Reid Kleckner's avatar
      Reverting r182337, which merged r182266, __declspec(selectany) · a03fd3f2
      Reid Kleckner authored
      Was "Implement __declspec(selectany) under -fms-extensions ..."
      
      llvm-svn: 182381
      a03fd3f2
    • Bill Wendling's avatar
      Merging r182344: · 8703cc62
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182344 | mren | 2013-05-20 17:57:22 -0700 (Mon, 20 May 2013) | 7 lines
      
      Dwarf: use a single line table to generate assembly when .loc is used.
      
      This is to fix PR15408 where an undefined symbol Lline_table_start1 is used.
      Since we do not generate the debug_line section when .loc is used,
      Lline_table_start1 is not emitted and we can't refer to it when calculating
      at_stmt_list for a compile unit.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182346
      8703cc62
    • Bill Wendling's avatar
      Merging r181283: · d3e6cfff
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181283 | rsmith | 2013-05-06 19:55:48 -0700 (Mon, 06 May 2013) | 6 lines
      
      C++ status:
       - fix paper links to point to isocpp.org, where most of the papers are already up
       - update "SVN" features to "Clang 3.3" to distinguish them from features which we
         complete after the branch
       - document use of -std=c++1y to enable c++1y support
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182341
      d3e6cfff
    • Bill Wendling's avatar
      Merging r181342: · b9690e08
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181342 | rsmith | 2013-05-07 12:32:56 -0700 (Tue, 07 May 2013) | 4 lines
      
      C++1y: Update __cplusplus to temporary value 201305L to allow detection of provisional C++1y support.
      Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from
      the C++ features study group), and update documentation to match.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182340
      b9690e08
    • Bill Wendling's avatar
      Merging r181487: · c9a23ab9
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181487 | fjahanian | 2013-05-08 16:38:56 -0700 (Wed, 08 May 2013) | 4 lines
      
      put noisy "unknown command tag name"  warning
      under -Wdocumentation-unknown-command and off by default.
      patch by Dmitri Gribenko.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182338
      c9a23ab9
    • Bill Wendling's avatar
      Merging r182266: · b40a4c55
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182266 | rnk | 2013-05-20 07:02:37 -0700 (Mon, 20 May 2013) | 13 lines
      
      Implement __declspec(selectany) under -fms-extensions
      
      selectany only applies to externally visible global variables.  It has
      the effect of making the data weak_odr.
      
      The MSDN docs suggest that unused definitions can only be dropped at
      linktime, so Clang uses weak instead of linkonce.  MSVC optimizes away
      references to constant selectany data, so it must assume that there is
      only one definition, hence weak_odr.
      
      Reviewers: espindola
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D814
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182337
      b40a4c55
  3. 20 May, 2013 2 commits
  4. 17 May, 2013 7 commits
    • Bill Wendling's avatar
      Merging r182113: · 13b25164
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182113 | tstellar | 2013-05-17 08:23:21 -0700 (Fri, 17 May 2013) | 9 lines
      
      R600: Fix encoding for R600 family GPUs
      Reviewed-by: default avatarVincent Lejeune <vljn@ovi.com>
      
      https://bugs.freedesktop.org/show_bug.cgi?id=64193
      https://bugs.freedesktop.org/show_bug.cgi?id=64257
      https://bugs.freedesktop.org/show_bug.cgi?id=64320
      
      NOTE: This is a candidate for the 3.3 branch.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182174
      13b25164
    • Bill Wendling's avatar
      Merging r182072: · 22019e87
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182072 | rsmith | 2013-05-16 19:19:35 -0700 (Thu, 16 May 2013) | 6 lines
      
      PR15757: When we instantiate an inheriting constructor template, also
      instantiate the inherited constructor template and mark that as the constructor
      which the instantiated specialization is inheriting. This fixes a
      crash-on-valid when trying to compute the exception specification of a
      specialization of the inheriting constructor.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182150
      22019e87
    • Bill Wendling's avatar
      Merging r181864: · 1be7bd1f
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181864 | chapuni | 2013-05-14 19:16:23 -0700 (Tue, 14 May 2013) | 10 lines
      
      ELFRelocationEntry::operator<(): Try to stabilize the order. r_offset was insufficient to sort Relocs.
      
      It should fix llvm/test/CodeGen/ARM/ehabi-mc-compact-pr*.ll on some hosts.
      
        RELOCATION RECORDS FOR [.ARM.exidx]:
        0 R_ARM_PREL31 .text
        0 R_ARM_NONE __aeabi_unwind_cpp_pr0
      
      FIXME: I am not sure of the directions of extra comparators, in Type and Index.
      For now, they are different from the direction in r_offset.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182149
      1be7bd1f
    • Bill Wendling's avatar
      Merging r181706: · b9f4df59
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181706 | rafael | 2013-05-13 07:34:48 -0700 (Mon, 13 May 2013) | 1 line
      
      Remove unused fields and arguments.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182147
      b9f4df59
    • Bill Wendling's avatar
      Merging r181678: · d695546e
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181678 | rafael | 2013-05-12 17:18:24 -0700 (Sun, 12 May 2013) | 1 line
      
      XFAIL this test for mingw too.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182146
      d695546e
    • Bill Wendling's avatar
      Merging r181600: · 337bb9ff
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181600 | aaronballman | 2013-05-10 07:42:16 -0700 (Fri, 10 May 2013) | 1 line
      
      XFAILing this test on Win32 to unbreak the build bots.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182145
      337bb9ff
    • Bill Wendling's avatar
      Merging r182072: · ef5cf2ac
      Bill Wendling authored
      ------------------------------------------------------------------------
      
      llvm-svn: 182141
      ef5cf2ac
  5. 16 May, 2013 7 commits
    • Bill Wendling's avatar
      Merging r181465: · 2ad1df5e
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181465 | rsmith | 2013-05-08 13:32:14 -0700 (Wed, 08 May 2013) | 2 lines
      
      Add missing triple to unit test.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182037
      2ad1df5e
    • Bill Wendling's avatar
      Merging r181529: · c7897580
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181529 | void | 2013-05-09 11:21:45 -0700 (Thu, 09 May 2013) | 8 lines
      
      Simplify the code a bit.
      
      The compact unwind registers were defined in two different
      places. It's better just to place them in the function that uses them
      and specify that this is a 64-bit or 32-bit machine.
      
      No functionality change.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181956
      c7897580
    • Bill Wendling's avatar
      Merging r181540: · a49a2c67
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181540 | void | 2013-05-09 13:10:38 -0700 (Thu, 09 May 2013) | 11 lines
      
      Generate a compact unwind encoding in the face of a stack alignment push.
      
      We generate a `push' of a random register (%rax) if the stack needs to be
      aligned by the size of that register. However, this could mess up compact unwind
      generation. In particular, we want to still generate compact unwind in the
      presence of this monstrosity.
      
      Check if the push of of the %rax/%eax register. If it is and it's marked with
      the `FrameSetup' flag, then we can generate a compact unwind encoding for the
      function only if the push is the last FrameSetup instruction.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181955
      a49a2c67
    • Bill Wendling's avatar
      Merging r181580: · 311ad7b3
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181580 | tstellar | 2013-05-09 19:09:45 -0700 (Thu, 09 May 2013) | 10 lines
      
      R600: Remove AMDILPeeopholeOptimizer and replace optimizations with tablegen patterns
      
      The BFE optimization was the only one we were actually using, and it was
      emitting an intrinsic that we don't support.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=64201Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      
      NOTE: This is a candidate for the 3.3 branch.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181954
      311ad7b3
    • Bill Wendling's avatar
      Merging r181579: · e091abc2
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181579 | tstellar | 2013-05-09 19:09:39 -0700 (Thu, 09 May 2013) | 8 lines
      
      R600: Expand SUB for v2i32/v4i32
      
      Patch by: Aaron Watry
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      Signed-off-by: default avatarAaron Watry <awatry@gmail.com>
      
      NOTE: This is a candidate for the 3.3 branch.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181953
      e091abc2
    • Bill Wendling's avatar
      Merging r181578: · a3cbd600
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181578 | tstellar | 2013-05-09 19:09:34 -0700 (Thu, 09 May 2013) | 10 lines
      
      R600: Expand MUL for v4i32/v2i32
      
      Fixes piglit test for OpenCL builtin mul24, and allows mad24 to run.
      
      Patch by: Aaron Watry
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      Signed-off-by: default avatarAaron Watry <awatry@gmail.com>
      
      NOTE: This is a candidate for the 3.3 branch.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181952
      a3cbd600
    • Bill Wendling's avatar
      Merging r181577: · 7413960f
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r181577 | tstellar | 2013-05-09 19:09:29 -0700 (Thu, 09 May 2013) | 10 lines
      
      R600: Expand SRA for v4i32/v2i32
      
      v2: Add v4i32 test
      
      Patch by: Aaron Watry
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      Signed-off-by: default avatarAaron Watry <awatry@gmail.com>
      
      NOTE: This is a candidate for the 3.3 branch.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 181951
      7413960f