Skip to content
  1. Sep 01, 2016
    • Richard Smith's avatar
      Fix all tests under test/CXX (and test/Analysis) to pass if clang's default · 53851923
      Richard Smith authored
      C++ language standard is not C++98.
      
      llvm-svn: 280309
      53851923
    • Richard Smith's avatar
      DR259: Demote the pedantic error for an explicit instantiation after an · e4caa48d
      Richard Smith authored
      explicit specialization to a warning for C++98 mode (this is a defect report
      resolution, so per our informal policy it should apply in C++98), and turn
      the warning on by default for C++11 and later. In all cases where it fires, the
      right thing to do is to remove the pointless explicit instantiation.
      
      llvm-svn: 280308
      e4caa48d
    • Zachary Turner's avatar
      [codeview] Have visitTypeBegin return the record type. · 77807637
      Zachary Turner authored
      Previously we were assuming that any visitation of types would
      necessarily be against a type we had binary data for.  Reasonable
      assumption when were just reading PDBs and dumping them, but once
      we start writing PDBs from Yaml this breaks down, because we have
      no binary data yet, only Yaml, and from that we need to read the
      record kind and perform the switch based on that.
      
      So this patch does that.  Instead of having the visitor switch
      on the kind that is already in the CVType record, we change the
      visitTypeBegin() method to return the Kind, and switch on the
      returned value.  This way, the default implementation can still
      return the value from the CVType, but the implementation which
      visits Yaml records and serializes binary PDB type records can
      use the field in the Yaml as the source of the switch.
      
      llvm-svn: 280307
      77807637
    • Nick Lewycky's avatar
      Add -fprofile-dir= to clang. · 97e49ac5
      Nick Lewycky authored
      -fprofile-dir=path allows the user to specify where .gcda files should be
      emitted when the program is run. In particular, this is the first flag that
      causes the .gcno and .o files to have different paths, LLVM is extended to
      support this. -fprofile-dir= does not change the file name in the .gcno (and
      thus where lcov looks for the source) but it does change the name in the .gcda
      (and thus where the runtime library writes the .gcda file). It's different from
      a GCOV_PREFIX because a user can observe that the GCOV_PREFIX_STRIP will strip
      paths off of -fprofile-dir= but not off of a supplied GCOV_PREFIX.
      
      To implement this we split -coverage-file into -coverage-data-file and
      -coverage-notes-file to specify the two different names. The !llvm.gcov
      metadata node grows from a 2-element form {string coverage-file, node dbg.cu}
      to 3-elements, {string coverage-notes-file, string coverage-data-file, node
      dbg.cu}. In the 3-element form, the file name is already "mangled" with
      .gcno/.gcda suffixes, while the 2-element form left that to the middle end
      pass.
      
      llvm-svn: 280306
      97e49ac5
    • Rafael Espindola's avatar
      Use getSize to find the size of a section. NFC. · 7f4f9cd5
      Rafael Espindola authored
      llvm-svn: 280305
      7f4f9cd5
    • Reid Kleckner's avatar
      34151b30
    • NAKAMURA Takumi's avatar
      [CMake] Increase stack size to 16MiB for all mingw executables. · 96a6c49b
      NAKAMURA Takumi authored
      llvm-svn: 280303
      96a6c49b
    • Heejin Ahn's avatar
      Add asm.js-style setjmp/longjmp handling for wasm · 23d57103
      Heejin Ahn authored
      Summary: This patch adds asm.js-style setjmp/longjmp handling support for WebAssembly. It also uses JavaScript's try and catch mechanism.
      
      Reviewers: jpp, dschuff
      
      Subscribers: jfb, dschuff
      
      Differential Revision: https://reviews.llvm.org/D23928
      
      llvm-svn: 280302
      23d57103
    • Reid Kleckner's avatar
      Revert "Add an optional parameter with a list of undefs to extendToIndices" · 109448ee
      Reid Kleckner authored
      This reverts commit r280268, it causes all MSVC 2013 to ICE. This
      appears to have been fixed in a later MSVC 2013 update, because I cannot
      reproduce it locally. That said, all upstream LLVM bots are broken right
      now, so I am reverting.
      
      Also reverts dependent change r280275, "[Hexagon] Deal with undefs when
      extending live intervals".
      
      llvm-svn: 280301
      109448ee
    • Sanjay Patel's avatar
      [InstCombine] allow icmp (shr exact X, C2), C fold for splat constant vectors · 0d70831d
      Sanjay Patel authored
      The enhancement to foldICmpDivConstant ( http://llvm.org/viewvc/llvm-project?view=revision&revision=280299 )
      allows us to remove the ConstantInt check; no other changes needed.
      
      llvm-svn: 280300
      0d70831d
  2. Aug 31, 2016
Loading