1. Jun 18, 2019
  2. Jun 17, 2019
    • Simon Pilgrim's avatar
      [X86] combineLoad - begun making the load split code more generic. NFCI. · 12cb792d
      Simon Pilgrim authored
      This is currently only used for ymm->xmm splitting but we shouldn't hardcode the offsets/alignment.
      
      This is necessary for an upcoming patch to split under-aligned non-temporal vector loads.
      
      llvm-svn: 363570
      12cb792d
    • Kostya Kortchinsky's avatar
      [scudo][standalone] Introduce the combined allocator · e4eadf17
      Kostya Kortchinsky authored
      Summary:
      The Combined allocator hold together all the other components, and
      provides a memory allocator interface based on various template
      parameters. This will be in turn used by "wrappers" that will provide
      the standard C and C++ memory allocation functions, but can be
      used as is as well.
      
      This doesn't depart significantly from the current Scudo implementation
      except for a few details:
      - Quarantine batches are now protected by a header a well;
      - an Allocator instance has its own TSD registry, as opposed to a
        static one for everybody;
      - a function to iterate over busy chunks has been added, for Android
        purposes;
      
      This also adds the associated tests, and a few default configurations
      for several platforms, that will likely be further tuned later on.
      
      Reviewers: morehouse, hctim, eugenis, vitalybuka
      
      Reviewed By: morehouse
      
      Subscribers: srhines, mgorny, delcypher, jfb, #sanitizers, llvm-commits
      
      Tags: #llvm, #sanitizers
      
      Differential Revision: https://reviews.llvm.org/D63231
      
      llvm-svn: 363569
      e4eadf17
    • Haojian Wu's avatar
      [clangd] Perform merge for main file symbols. · b5ce4e5e
      Haojian Wu authored
      Summary:
      Previously, we randomly pick one main file symbol in dynamic index, we
      may loose the ideal symbol (with definition location) in the index.
      
      It fixes the issue where sometimes we fail to go to the symbol definition, see:
      
      1. call go-to-decl on Foo in Foo.cpp
      2. jump to Foo.h, call go-to-def on Foo in Foo.h
      
      we can't go back to Foo.cpp -- because we open Foo.cpp, Foo.h in clangd, both
      files have Foo symbol (one with def&decl, one with decl only), we randomely
      choose one.
      
      Reviewers: kadircet
      
      Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
      
      Tags: #clang
      
      Differential Revision: https://reviews.llvm.org/D63425
      
      llvm-svn: 363568
      b5ce4e5e
    • Jan Kratochvil's avatar
      [lldb] [test] Extend D55859 symbols.enable-external-lookup=false for more testcases · 8c82c412
      Jan Kratochvil authored
      D55859 <https://reviews.llvm.org/D55859> has no effect for some of the
      testcases so this patch extends it even for (all?) other testcases known to me.
      LLDB was failing when LLDB prints errors reading system debug infos
      (`*-debuginfo.rpm`, DWZ-optimized) which should never happen as LLDB testcases
      should not be affected by system debug infos.
      
      `lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp.template` is
      using only SB API which does not expose `ModuleList` so I had to call
      `HandleCommand()` there.
      
      `lldb-test.cpp` could also use `HandleCommand` and then there would be no need
      for `ModuleListProperties::SetEnableExternalLookup()` but I think it is cleaner
      with API and not on based on text commands.
      
      Differential Revision: https://reviews.llvm.org/D63339
      
      llvm-svn: 363567
      8c82c412