1. May 11, 2015
    • Vince Harron's avatar
      Fixed lldb-mi test failures introduced by r236956 · 6d3d0f11
      Vince Harron authored
      Move enable/disableLogForCurrentTest from lldbtest.TestBase to
      lldbtest.Base so they're accessible to Mi tests
      
      llvm-svn: 236963
      6d3d0f11
    • David Majnemer's avatar
      [MS ABI] Form member pointers from virtual funcs overriding vbases · e60813f9
      David Majnemer authored
      We didn't supporting taking the address of virtual member functions
      which overrode a method in a virtual base.  We simply need to encode the
      virtual base index in the member pointer.
      
      This fixes PR23452.
      
      N.B.  There is no data member pointer side to this change because taking
      the address of a virtual bases' data member gives you a member pointer
      whose type is derived from the virtual bases' type, not the most derived
      type.
      
      llvm-svn: 236962
      e60813f9
    • David Majnemer's avatar
      [MS ABI] Update EH emission for MSVC 2015 compatibility · fb6ffca6
      David Majnemer authored
      MSVC 2015 renamed the symbol found by name lookup for 'std::terminate'
      so we cannot rely on using '?terminate@@YAXXZ'.  Furthermore, it seems
      that 2015 will be the first release of MSVC which permits inlining a
      function which is noexcept into a function which isn't.  This is
      implemented by creating a cleanup for the invoker which jumps to
      __std_terminate.  Clang's implementation of this aspect of the MSVC
      scheme is slightly less efficient in this respect because we use a
      catch handler configured as a catch-all handler instead.
      
      llvm-svn: 236961
      fb6ffca6
    • Daniel Jasper's avatar
      clang-format: Improve wrapping of << operators. · 173504e4
      Daniel Jasper authored
      Before:
        llvm::errs() << aaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
                           aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
                            aaaaaaaaaaaaaaaa) << aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
      
      After:
        llvm::errs() << aaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
                            aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
                            aaaaaaaaaaaaaaaa)
                     << aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
      
      Also, cleanup and simplify the operator wrapping logic.
      
      llvm-svn: 236960
      173504e4
    • Craig Topper's avatar
      De-virtualize some const versions of getCanonicalDecl by redirecting to the... · 38227742
      Craig Topper authored
      De-virtualize some const versions of getCanonicalDecl by redirecting to the non-const version. Most of the Decl hierarchy already did it this way this just makes the rest consistent.
      
      llvm-svn: 236959
      38227742
    • Vince Harron's avatar
      Remove unsupported lldb-server parameters from test · f1ff3c14
      Vince Harron authored
      llvm-svn: 236958
      f1ff3c14
  2. May 10, 2015
  3. May 09, 2015
    • Robert Flack's avatar
      Convert mmap options for target in InferiorCallMmap. · 96ad3de5
      Robert Flack authored
      Converts the MAP_PRIVATE and MAP_ANON options to the target platform constants
      (on which the call runs) rather than using those of the compiled host.
      
      Test Plan:
      Run test suite, the following tests requiring memory allocation / JIT support
      begin passing when running mac -> linux:
      Test11588.py
      TestAnonymous.py
      TestBreakpointConditions.py
      TestCPPStaticMethods.py
      TestCStrings.py
      TestCallStdStringFunction.py
      TestDataFormatterCpp.py
      TestDataFormatterStdList.py
      TestExprDoesntBlock.py
      TestExprHelpExamples.py
      TestFunctionTypes.py
      TestPrintfAfterUp.py
      TestSBValuePersist.py
      TestSetValues.py
      
      Differential Revision: http://reviews.llvm.org/D9511
      
      llvm-svn: 236933
      96ad3de5
    • Tobias Grosser's avatar
      Update isl to c3892bebc0 · 3e6070ef
      Tobias Grosser authored
      Various smaller improvements and bugfixes.
      
      llvm-svn: 236932
      3e6070ef
    • Tobias Grosser's avatar
      Add explicit #includes for used isl features · cd524dc5
      Tobias Grosser authored
      llvm-svn: 236931
      cd524dc5
    • Tobias Grosser's avatar
      Sort include directives · ba0d0922
      Tobias Grosser authored
      Upcoming revisions of isl require us to include header files explicitly, which
      have previously been already transitively included. Before we add them, we sort
      the existing includes.
      
      Thanks to Chandler for sort_includes.py. A simple, but very convenient script.
      
      llvm-svn: 236930
      ba0d0922
    • Tobias Grosser's avatar
      Add polly support to sort_includes.py · e7f512ae
      Tobias Grosser authored
      Changes:
       -  Add "isl/" as a system library prefix. Even though isl is regularly
          imported into polly, it is still used like an external library.
       -  Add "json/" as a system library prefix. Polly uses json-cpp as external
          library.
       -  Distinguish between llvm and subproject libraries. Always sort subprojects
          before LLVM. This was already the case with clang, as 'clang' comes before
          'llvm', but we also want 'polly' to be sorted before 'llvm'.
      
      The sorting of headers that are not part of Polly or isl remains unchanged.
      
      llvm-svn: 236929
      e7f512ae
    • NAKAMURA Takumi's avatar
      7f52d6d8
    • James Y Knight's avatar
      Fix MergeConsecutiveStore for non-byte-sized memory accesses. · fca02be3
      James Y Knight authored
      The bug showed up as a compile-time assertion failure:
        Assertion `NumBits >= MIN_INT_BITS && "bitwidth too small"' failed
      when building msan tests on x86-64.
      
      Prior to r236850, this bug was masked due to a bogus alignment check,
      which also accidentally rejected non-byte-sized accesses. Afterwards,
      an invalid ElementSizeBytes == 0 got further into the function, and
      triggered the assertion failure.
      
      It would probably be a good idea to allow it to handle merging stores
      of unusual widths as well, but for now, to un-break it, I'm just
      making the minimal fix.
      
      Differential Revision: http://reviews.llvm.org/D9626
      
      llvm-svn: 236927
      fca02be3
    • Ikhlas Ajbar's avatar
      Factor out Hexagon code to build args. · 71d19f3c
      Ikhlas Ajbar authored
      This patch factor out the code in hexagon::Link::ConstructJob to be reused
      in other functions. No functionality change intended.
      
      llvm-svn: 236926
      71d19f3c
    • Chaoren Lin's avatar
      Set path syntax for remote executable FileSpec. · f34f410e
      Chaoren Lin authored
      Reviewers: ovyalov, zturner
      
      Subscribers: lldb-commits
      
      Differential Revision: http://reviews.llvm.org/D9579
      
      llvm-svn: 236925
      f34f410e
    • Ed Maste's avatar
      Skip tests that are timing out on the FreeBSD buildbot · f5132e70
      Ed Maste authored
      XFAILing these does not work because the timeout is caught by the
      top-level test infrastucture instead.
      
      Some might be llvm.org/pr22784
      
      llvm-svn: 236924
      f5132e70
    • Tom Stellard's avatar
      MachineCSE: Add a target query for the LookAheadLimit heurisitic · f01af29f
      Tom Stellard authored
      This is used to determine whether or not to CSE physical register
      defs.
      
      Differential Revision: http://reviews.llvm.org/D9472
      
      llvm-svn: 236923
      f01af29f