1. Dec 12, 2013
    • Bill Wendling's avatar
      Merging r196058: · 9fb5fc96
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line
      
      Fix for PRPR17934; based on a fix suggested by Peter Sommerlad
      ------------------------------------------------------------------------
      
      llvm-svn: 197133
      9fb5fc96
    • Bill Wendling's avatar
      Merging r-197100: · 26d28e51
      Bill Wendling authored
      ------------------------------------------------------------------------
      r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
      
      Remove unused multiclass from PPCInstrInfo.td
      ------------------------------------------------------------------------
      
      llvm-svn: 197131
      26d28e51
    • Bill Wendling's avatar
      Merging r197100: · 87298e51
      Bill Wendling authored
      ------------------------------------------------------------------------
      r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
      
      Remove unused multiclass from PPCInstrInfo.td
      ------------------------------------------------------------------------
      
      llvm-svn: 197130
      87298e51
    • Bill Wendling's avatar
      Merging r197120: · 317f672d
      Bill Wendling authored
      ------------------------------------------------------------------------
      r197120 | rsmith | 2013-12-11 18:42:17 -0800 (Wed, 11 Dec 2013) | 2 lines
      
      Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 197127
      317f672d
    • Bill Wendling's avatar
      Merging r197089: · d92b12df
      Bill Wendling authored
      ------------------------------------------------------------------------
      r197089 | hfinkel | 2013-12-11 15:12:25 -0800 (Wed, 11 Dec 2013) | 6 lines
      
      Fix the PPC subsumes-predicate check
      
      For one predicate to subsume another, they must both check the same condition
      register. Failure to check this prerequisite was causing miscompiles.
      
      Fixes PR18003.
      ------------------------------------------------------------------------
      
      llvm-svn: 197126
      d92b12df
    • Richard Smith's avatar
      Fix another formatting bug. · 82930e70
      Richard Smith authored
      llvm-svn: 197118
      82930e70
    • Richard Smith's avatar
      Fix RST syntax errors. · f0bbdf60
      Richard Smith authored
      llvm-svn: 197117
      f0bbdf60
    • Richard Smith's avatar
      Add information about C++1y support to Clang 3.4 release notes. · ef105998
      Richard Smith authored
      llvm-svn: 197115
      ef105998
  2. Dec 11, 2013
    • Daniel Jasper's avatar
      Add release notes for clang-format. · bd1c1c78
      Daniel Jasper authored
      llvm-svn: 197042
      bd1c1c78
    • Sergey Matveev's avatar
      Merging r197022: · f4312bf4
      Sergey Matveev authored
      ------------------------------------------------------------------------
      r197022 | smatveev | 2013-12-11 13:14:36 +0400 (Wed, 11 Dec 2013) | 1 line
      
      Mention LeakSanitizer in AddressSanitizer docs.
      ------------------------------------------------------------------------
      
      llvm-svn: 197023
      f4312bf4
    • Bill Wendling's avatar
      Merging r-196058: · 80ca990f
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line
      
      Fix for PRPR17934; based on a fix suggested by Peter Sommerlad
      ------------------------------------------------------------------------
      
      llvm-svn: 197013
      80ca990f
    • Bill Wendling's avatar
      Readd the prototype. · 45d1e227
      Bill Wendling authored
      llvm-svn: 197012
      45d1e227
    • Bill Wendling's avatar
      Merging r196802: · 9504f945
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines
      
      Revert three patches which were committed without explicit contribution
      by their authors.
      
      This may break builds where others added code relying on these patches,
      but please *do not* revert this commit. Instead, we will prepare patches
      which fix the failures.
      
      Reverts the following commits:
      r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu"
      r168356: "[asan] more support for powerpc, patch by Peter Bergner"
      r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)"
      ------------------------------------------------------------------------
      
      llvm-svn: 197011
      9504f945
    • Bill Wendling's avatar
      Merging r196809: · dd45e0c9
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196809 | rsmith | 2013-12-09 11:52:39 -0800 (Mon, 09 Dec 2013) | 2 lines
      
      Unbreak build by adding an implementation of PopStackFrames function.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 197010
      dd45e0c9
    • Bill Wendling's avatar
      Merging r196995: · d99c9122
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196995 | rsmith | 2013-12-10 17:40:16 -0800 (Tue, 10 Dec 2013) | 5 lines
      
      When performing an array new of a multidimensional array with an initializer
      list, each element of the initializer list may provide more than one of the
      base elements of the array. Be sure to initialize the right type and bump the
      array pointer by the right amount.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 197005
      d99c9122
    • Bill Wendling's avatar
      Add LibBeauty blurb. · 522cb01c
      Bill Wendling authored
      llvm-svn: 197004
      522cb01c
    • Sergey Matveev's avatar
      Merging r196957: · c2d12295
      Sergey Matveev authored
      ------------------------------------------------------------------------
      r196957 | smatveev | 2013-12-11 00:10:30 +0400 (Wed, 11 Dec 2013) | 1 line
      
      Rewrite docs/LeakSanitizer.rst. Add it to index.
      ------------------------------------------------------------------------
      
      llvm-svn: 196958
      c2d12295
    • Bill Wendling's avatar
      Merging r196768: · 1af8ed5e
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196768 | majnemer | 2013-12-09 01:04:00 -0800 (Mon, 09 Dec 2013) | 5 lines
      
      ADT: Implement MutableArrayRef::reverse_iterator
      
      This adds rbegin/rend methods to MutableArrayRef, they will be used by a
      follow-on commit in clang.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196945
      1af8ed5e
  3. Dec 10, 2013
    • Bill Wendling's avatar
      Merging r196858: · 208ece80
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196858 | nadav | 2013-12-09 17:13:59 -0800 (Mon, 09 Dec 2013) | 1 line
      
      Fix PR18162 - Incorrect assertion assumed that the SDValue resno is zero.
      ------------------------------------------------------------------------
      
      llvm-svn: 196886
      208ece80
    • Bill Wendling's avatar
      Merging r196852: · d0c09393
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196852 | majnemer | 2013-12-09 16:40:58 -0800 (Mon, 09 Dec 2013) | 10 lines
      
      Sema: Enforce C++11 pointer-to-member template arguments should rules
      
      The standard is pretty clear on what it allows inside of template
      arguments for non-type template parameters of pointer-to-member.
      
      They must be of the form &qualified-id and cannot come from sources like
      constexpr VarDecls or things of that nature.
      
      This fixes PR18192.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196885
      d0c09393
    • Bill Wendling's avatar
      Merging r196771: · bfe64830
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196771 | majnemer | 2013-12-09 02:44:32 -0800 (Mon, 09 Dec 2013) | 17 lines
      
      [-cxx-abi microsoft] Mangle large integral constants correctly
      
      Testing has revealed that large integral constants (i.e. > INT64_MAX)
      are always mangled as-if they are negative, even in places where it
      would not make sense for them to be negative (like non-type template
      parameters of type unsigned long long).
      
      To address this, we change the way we model number mangling: always
      mangle as-if our number is an int64_t.  This should result in correct
      results when we have large unsigned numbers.
      
      N.B.  Bizarrely, things that are 32-bit displacements like vbptr offsets
      are mangled as-if they are unsigned 32-bit numbers.  This is a pretty
      egregious waste of space, it would be a 4x savings if we could mangle it
      like a signed 32-bit number.  Instead, we explicitly cast these
      displacements to uint32_t and let the mangler proceed.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196878
      bfe64830
    • Bill Wendling's avatar
      Merging r196806: · 24c618e1
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196806 | apazos | 2013-12-09 11:29:14 -0800 (Mon, 09 Dec 2013) | 11 lines
      
      
      Fix pattern match for movi with 0D result
      
      Patch by Jiangning Liu.
      
      With some test case changes:
      - intrinsic test added to the existing /test/CodeGen/AArch64/neon-aba-abd.ll.
      - New test cases to cover movi 1D scenario without using the intrinsic in
      test/CodeGen/AArch64/neon-mov.ll.
      
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196872
      24c618e1
    • Bill Wendling's avatar
      Merging r196799: · 00309d5b
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196799 | wdietz2 | 2013-12-09 11:04:33 -0800 (Mon, 09 Dec 2013) | 1 line
      
      ubsan: Fix typo in 'TypeCheck/vptr.cpp' test to resolve 32bit failure.
      ------------------------------------------------------------------------
      
      llvm-svn: 196871
      00309d5b
    • Bill Wendling's avatar
      Merging r196612: · f93783c4
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196612 | wdietz2 | 2013-12-06 13:49:18 -0800 (Fri, 06 Dec 2013) | 1 line
      
      Fix integer tests on platforms where uint64_t is 'unsigned long long'.
      ------------------------------------------------------------------------
      
      llvm-svn: 196870
      f93783c4
    • Bill Wendling's avatar
      Merging r196612: · dcfc9c32
      Bill Wendling authored
      ------------------------------------------------------------------------
      
      llvm-svn: 196869
      dcfc9c32
    • Bill Wendling's avatar
      Merging r196612: · ebfc8a59
      Bill Wendling authored
      ------------------------------------------------------------------------
      
      llvm-svn: 196868
      ebfc8a59
    • Manman Ren's avatar
      Merging r196172: · 48650e8a
      Manman Ren authored
      ------------------------------------------------------------------------
      r196172 | mren | 2013-12-02 16:12:14 -0800 (Mon, 02 Dec 2013) | 4 lines
      
      Debug Info: rename getDebugInfoVersionFromModule to getDebugMetadataVersionFromModule.
      
      Suggested by Eric.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196823
      48650e8a
    • Manman Ren's avatar
      Merging r196158: · 6d314512
      Manman Ren authored
      ------------------------------------------------------------------------
      r196158 | mren | 2013-12-02 13:29:56 -0800 (Mon, 02 Dec 2013) | 12 lines
      
      Debug Info: drop debug info via upgrading path if version number does not match.
      
      Add a helper function getDebugInfoVersionFromModule to return the debug info
      version number for a module.
      
      "Verifier/module-flags-1.ll" checks for verification errors.
      It will seg fault when calling getDebugInfoVersionFromModule because of the
      incorrect format for module flags in the testing case. We make
      getModuleFlagsMetadata more robust by checking for error conditions.
      
      PR17982
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196822
      6d314512
    • Manman Ren's avatar
      Merging r196156: · 2d78d901
      Manman Ren authored
      ------------------------------------------------------------------------
      r196156 | mren | 2013-12-02 13:25:56 -0800 (Mon, 02 Dec 2013) | 2 lines
      
      Update Ocaml/vmcore.ml to emit a "Debug Info Version" module flag.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196821
      2d78d901
    • Manman Ren's avatar
      Merging r196145: · 2bb4be65
      Manman Ren authored
      ------------------------------------------------------------------------
      r196145 | mren | 2013-12-02 12:10:37 -0800 (Mon, 02 Dec 2013) | 5 lines
      
      Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.
      
      Suggested by Eric.
      Paired commit with r196144.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196820
      2bb4be65
    • Manman Ren's avatar
      Merging r196144: · 4f9577b9
      Manman Ren authored
      ------------------------------------------------------------------------
      r196144 | mren | 2013-12-02 12:09:52 -0800 (Mon, 02 Dec 2013) | 4 lines
      
      Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.
      
      Suggested by Eric.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196819
      4f9577b9
    • Manman Ren's avatar
      Merging r196143: · 3c51e556
      Manman Ren authored
      ------------------------------------------------------------------------
      r196143 | mren | 2013-12-02 11:37:35 -0800 (Mon, 02 Dec 2013) | 1 line
      
      Expand comments for Debug Info Version.
      ------------------------------------------------------------------------
      
      llvm-svn: 196818
      3c51e556
    • Manman Ren's avatar
      Merging r195535: · cabc39a6
      Manman Ren authored
      ------------------------------------------------------------------------
      r195535 | mren | 2013-11-22 17:16:29 -0800 (Fri, 22 Nov 2013) | 8 lines
      
      Debug Info: update testing cases to specify the debug info version number.
      
      We are going to drop debug info without a version number or with a different
      version number, to make sure we don't crash when we see bitcode files with
      different debug info metadata format.
      
      Make tests more robust by removing hard-coded metadata numbers in CHECK lines.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196817
      cabc39a6
    • Manman Ren's avatar
      Merging r195505: · f685fdd3
      Manman Ren authored
      ------------------------------------------------------------------------
      r195505 | mren | 2013-11-22 14:06:31 -0800 (Fri, 22 Nov 2013) | 8 lines
      
      Debug Info: move StripDebugInfo from StripSymbols.cpp to DebugInfo.cpp.
      
      We can share the implementation between StripSymbols and dropping debug info
      for metadata versions that do not match.
      
      Also update the comments to match the implementation. A follow-on patch will
      drop the "Debug Info Version" module flag in StripDebugInfo.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196816
      f685fdd3
    • Manman Ren's avatar
      Merging r195504: · d52ef95f
      Manman Ren authored
      ------------------------------------------------------------------------
      r195504 | mren | 2013-11-22 13:49:45 -0800 (Fri, 22 Nov 2013) | 6 lines
      
      Debug Info: update testing cases to specify the debug info version number.
      
      We are going to drop debug info without a version number or with a different
      version number, to make sure we don't crash when we see bitcode files with
      different debug info metadata format.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196815
      d52ef95f
    • Manman Ren's avatar
      Merging r195495: · cf8001e3
      Manman Ren authored
      ------------------------------------------------------------------------
      r195495 | mren | 2013-11-22 11:42:45 -0800 (Fri, 22 Nov 2013) | 5 lines
      
      Debug Info: add a "Debug Info Version" module flag to output the current debug
      info version number.
      
      Will error out when modules have different version numbers.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 196812
      cf8001e3
    • Hans Wennborg's avatar
      Release notes: expand clang-cl blurb a little · 791aeab9
      Hans Wennborg authored
      llvm-svn: 196810
      791aeab9
    • Bill Wendling's avatar
      Merging r196599: · 4141aeeb
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196599 | zaks | 2013-12-06 11:28:16 -0800 (Fri, 06 Dec 2013) | 5 lines
      
      Fixup to r196593.
      
      This is another regression fixed by reverting r189090.
      
      In this case, the problem is not live variables but the approach that was taken in r189090. This regression was caused by explicitly binding "true" to the condition when we take the true branch. Normally that's okay, but in this case we're planning to reuse that condition as the value of the expression.
      ------------------------------------------------------------------------
      
      llvm-svn: 196796
      4141aeeb
    • Bill Wendling's avatar
      Merging r196593: · 6e477ccc
      Bill Wendling authored
      ------------------------------------------------------------------------
      r196593 | zaks | 2013-12-06 10:56:29 -0800 (Fri, 06 Dec 2013) | 7 lines
      
      Revert "[analyzer] Refactor conditional expression evaluating code"
      
      This reverts commit r189090.
      
      The original patch introduced regressions (see the added live-variables.* tests). The patch depends on the correctness of live variable analyses, which are not computed correctly. I've opened PR18159 to track the proper resolution to this problem.
      
      The patch was a stepping block to r189746. This is why part of the patch reverts temporary destructor tests that started crashing. The temporary destructors feature is disabled by default.
      ------------------------------------------------------------------------
      
      llvm-svn: 196795
      6e477ccc
  4. Dec 09, 2013