1. Nov 01, 2017
  2. Oct 31, 2017
    • Pavel Labath's avatar
      Add a "watchpoint" test category and annotate tests appropriately · 22e71a03
      Pavel Labath authored
      Most of the watchpoint tests are organized into subtrees, so we can use the
      file-based .categories approach to annotate them. The exception are the
      concurrent_events tests, which needed to be annotated on a per-test basis.
      
      The motivation behind this is to provide an easy way to disable watchpoint
      tests on systems where the watchpoint functionality is not present/unreliable.
      
      llvm-svn: 317004
      22e71a03
    • Benjamin Kramer's avatar
      [LoopVectorize] Replace manual VPlan memory management with unique_ptr. · 3f3d5be7
      Benjamin Kramer authored
      No functionality change intended.
      
      llvm-svn: 317003
      3f3d5be7
    • George Rimar's avatar
      [ELF] - Remove useless code. NFC. · f173a630
      George Rimar authored
      We set Type and Flags inside OutputSection::addSection,
      so this lines looks to be excessive.
      
      llvm-svn: 317002
      f173a630
    • Jonas Devlieghere's avatar
      [test] Fix dsymutil/cmdline.test · 5a213f2f
      Jonas Devlieghere authored
      This fixes dsymutil/cmdline.test on platforms where the dsymutil binary
      has an extension.
      
      llvm-svn: 317001
      5a213f2f
    • Florian Hahn's avatar
      [Reassociate] Remove FIXME from looptest.ll (NFC) · 51787b20
      Florian Hahn authored
      Summary: The loop invariant add (i+j) is reassoicated, I think the FIXME can be removed, because this is what the test case tries to check (AFAIK). I also changed the test to use FileCheck.
      
      Reviewers: mcrosier, davide
      
      Reviewed By: mcrosier, davide
      
      Subscribers: davide, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D39424
      
      llvm-svn: 317000
      51787b20
    • Jonas Devlieghere's avatar
      [dsymutil] Implement the --threads option · 2dd98483
      Jonas Devlieghere authored
      This patch adds the --threads option to dsymutil to process
      architectures in parallel. The feature is already present in the version
      distributed with Xcode, but was not yet upstreamed.
      
      This is NFC as far as the linking behavior is concerned. As threads are
      used automatically, the current tests cover the change in
      implementation.
      
      Differential revision: https://reviews.llvm.org/D39355
      
      llvm-svn: 316999
      2dd98483
    • Oleg Ranevskyy's avatar
      [lld] Fix --exclude-libs broken when --whole-archive is used · 0cf24ed9
      Oleg Ranevskyy authored
      Summary:
      **Problem**
      `--exclude-libs` does not work for static libraries affected by the `--whole-archive` option.
      
      **Description**
      `--exclude-libs` creates a list of static library paths and does library lookups in this list.
      `--whole-archive` splits the static libraries that follow it into separate objects. As a result, lld no longer sees static libraries among linked files and does no `--exclude-libs` lookups.
      
      **Solution**
      The proposed solution is to make `--exclude-libs` consider object files too. When lld finds an object file it checks whether this file originates from an archive and, if so, looks the archive up in the `--exclude-libs` list.
      
      Reviewers: ruiu, rafael
      
      Reviewed By: ruiu
      
      Subscribers: asl, ikudrin, llvm-commits, emaste
      
      Tags: #lld
      
      Differential Revision: https://reviews.llvm.org/D39353
      
      llvm-svn: 316998
      0cf24ed9
    • Pavel Labath's avatar
      Fix LLVM_LINK_LLVM_DYLIB build (pr35053) · f753bfee
      Pavel Labath authored
      Summary:
      r316368 broke this build when it introduced a reference to a pthread
      function to the Utility module. This caused cmake to generate an
      incorrect link line (wrong order of libs) because it did not see the
      dependency from Utility to the system libraries. Instead these libraries
      were being manually added to each final target.
      
      This changes moves the dependency management from the individual targets
      to the lldbUtility module, which is consistent with how llvm does it.
      The final targets will pick up these libraries as they will be a part of
      the link interface of the module.
      
      Technically, some of these dependencies could go into the host module,
      as that's where most of the os-specific code is, but I did not try to
      investigate which ones.
      
      Reviewers: zturner, sylvestre.ledru
      
      Subscribers: lldb-commits, mgorny
      
      Differential Revision: https://reviews.llvm.org/D39246
      
      llvm-svn: 316997
      f753bfee
    • Teresa Johnson's avatar
      [ThinLTO] Double bits of module hash used for renaming · d1089e5c
      Teresa Johnson authored
      Summary:
      Use 64 instead of 32 bits of the module hash as the suffix when renaming
      after promotion to reduce the likelihood of a collision (which we
      observed in a binary when using 32 bits).
      
      Reviewers: pcc
      
      Subscribers: llvm-commits, inglorion
      
      Differential Revision: https://reviews.llvm.org/D39443
      
      llvm-svn: 316996
      d1089e5c
    • Michael Kruse's avatar
      [DeLICM] Fix wrong assumed access execution order. · ff426d97
      Michael Kruse authored
      ForwardOpTree may already transform a scalar access to an array
      accesses. The access remains implicit (isOriginalScalarKind(), meaning
      that the access is always executed at the begin/end of a statement), but
      targets an array (isLatestArrayKind(), which is unrelated to whether the
      execution is implicit/explicit).
      
      Fix by properly using isOriginalXXX() to determine execution order.
      
      This fixes the buildbots on MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG.
      
      llvm-svn: 316995
      ff426d97