1. Jan 10, 2019
    • Nico Weber's avatar
      lld-link: Add help strings for /manifest, /nodefaultlib, /noentry; tweak manifest help strings · 64fb85c9
      Nico Weber authored
      My main motivation is that I can never remember /nodefaultlib and
      `lld-link /? | grep no` didn't display it due to it not having a help string.
      
      Differential Revision: https://reviews.llvm.org/D56502
      
      llvm-svn: 350750
      64fb85c9
    • David Callahan's avatar
      refactor BlockFrequencyInfo::view to take a title parameter · 3ef0f444
      David Callahan authored
      Summary: All a non-default title for the debugging this debugging aide
      
      Reviewers: twoh, Kader, modocache
      
      Reviewed By: twoh
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D56499
      
      llvm-svn: 350749
      3ef0f444
    • Aaron Ballman's avatar
      Fix visualization of intrusive reference counted objects in MSVC. · 6c6fb80c
      Aaron Ballman authored
      llvm-svn: 350748
      6c6fb80c
    • Gheorghe-Teodor Bercea's avatar
      [OpenMP][libomptarget] Use shared memory variable for tracking parallel level · 1653633a
      Gheorghe-Teodor Bercea authored
      Summary: Replace existing infrastructure for tracking parallel level using global memory with a per-team shared memory variable. This minimizes the impact of the overhead of tracking the parallel level for non-nested cases.
      
      Reviewers: ABataev, caomhin
      
      Reviewed By: ABataev
      
      Subscribers: guansong, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D55773
      
      llvm-svn: 350747
      1653633a
    • Thomas Lively's avatar
      [WebAssembly] Standardize order of SIMD bitselect arguments · edb54b22
      Thomas Lively authored
      Summary:
      For some reason the backend assumed that the condition mask would be
      the first argument to the LLVM intrinsic, but everywhere else the
      condition mask is the third argument.
      
      Reviewers: aheejin
      
      Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D56412
      
      llvm-svn: 350746
      edb54b22
    • Sanjay Patel's avatar
      [x86] use 'nounwind' to remove test noise; NFC · 15f2a4d1
      Sanjay Patel authored
      llvm-svn: 350745
      15f2a4d1
    • David Carlier's avatar
      [asan] Disable TSD dtor leak unit tests on FreeBSD x86 64 · 5e53818b
      David Carlier authored
      - Assertion fails in the third iteration.
      
      Reviewers: krytarowski
      
      Reviewed By: krytarowski
      
      Differential Revision: https://reviews.llvm.org/D56497
      
      llvm-svn: 350744
      5e53818b
    • Pavel Labath's avatar
      ELF: create "container" sections from PT_LOAD segments · f55aea73
      Pavel Labath authored
      Summary:
      This is the result of the discussion in D55356, where it was suggested
      as a solution to representing the addresses that logically belong to a
      module in memory, but are not a part of any of its sections.
      
      The ELF PT_LOAD segments are similar to the MachO "load commands",
      except that the relationship between them and the object file sections
      is a bit weaker. While in the MachO case, the sections belonging to a
      specific segment are placed directly inside it in the object file
      logical structur, in the ELF case, the sections and segments form two
      separate hierarchies. This means that it is in theory possible to create
      an elf file where only a part of a section would belong to some segment
      (and another part to a different one). However, I am not aware of any
      tool which would produce such a file (and most tools will have problems
      ingesting them), so this means it is still possible to follow the MachO
      model and make sections children of the PT_LOAD segments.
      
      In case we run into (corrupt?) files with overlapping sections, I have
      added code (and tests) which adjusts the sizes and/or drops the offending
      sections in order to present a reasonable image to the upper layers of
      LLDB. This is mostly done for completeness, as I don't anticipate
      running into this situation in the real world. However, if we do run
      into it, and the current behavior is not suitable for some reason, we
      can implement this logic differently.
      
      Reviewers: clayborg, jankratochvil, krytarowski, joerg, espindola
      
      Subscribers: emaste, arichardson, lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D55998
      
      llvm-svn: 350742
      f55aea73
    • Bruno Ricci's avatar
      [AST] Move back BasePathSize to the bit-fields of CastExpr · 4939165d
      Bruno Ricci authored
      The number of trailing CXXBaseSpecifiers in CastExpr was moved from
      CastExprBitfields to a trailing object in r338489 (D50050). At this time these
      bit-fields classes were only 32 bits wide. However later r345459 widened these
      bit-field classes to 64 bits.
      
      The reason for this change was that on 64 bit archs alignment requirements
      caused 4 bytes of padding after the Stmt sub-object in nearly all expression
      classes. Reusing this padding yielded an >10% reduction in the size used by all
      statement/expressions when parsing all of Boost (on a 64 bit arch). This
      increased the size of statement/expressions for 32 bits archs, but this can be
      mitigated by moving more data to the bit-fields of Stmt (and moreover most
      people now care about 64 bits archs as a host).
      
      Therefore move back the number of CXXBaseSpecifiers in CastExpr to the
      bit-fields of Stmt. This in effect mostly revert r338489 while keeping the
      added test.
      
      Differential Revision: https://reviews.llvm.org/D56358
      
      Reviewed By: lebedev.ri
      
      Reviewers: lebedev.ri, rjmccall
      llvm-svn: 350741
      4939165d
    • Louis Dionne's avatar
      [libcxx] Add a script to run CI on MacOS · cb4e59ed
      Louis Dionne authored
      CI systems like Green Dragon should use this script so as to make
      reproducing errors easy locally.
      
      llvm-svn: 350740
      cb4e59ed
    • Eric Fiselier's avatar
      Mark two UDL tests as being unsupported with Clang 7 · e49fc07c
      Eric Fiselier authored
      llvm-svn: 350739
      e49fc07c
    • Stefan Granitz's avatar
      [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory · 79f41967
      Stefan Granitz authored
      Summary: In standalone builds `LLVM_BINARY_DIR` was equal to `LLDB_BINARY_DIR` so far. This is counterintuitive and invalidated the values of `LLDB_DEFAULT_TEST_DSYMUTIL/FILECHECK/COMPILER` etc.
      
      Reviewers: zturner, labath, clayborg, JDevlieghere, stella.stamenova, serge-sans-paille
      
      Reviewed By: labath
      
      Subscribers: mgorny, friss, lldb-commits, #lldb
      
      Differential Revision: https://reviews.llvm.org/D56443
      
      llvm-svn: 350738
      79f41967
    • Stefan Granitz's avatar
      [CMake] Fix standalone builds: workaround the cxx target not getting imported... · 644a3289
      Stefan Granitz authored
      [CMake] Fix standalone builds: workaround the cxx target not getting imported yet (unlike clang target)
      
      Summary: Handle standalone builds separately and print a warning if we have no libcxx.
      
      Reviewers: aprantl, JDevlieghere
      
      Reviewed By: JDevlieghere
      
      Subscribers: mgorny, lldb-commits, #lldb
      
      Differential Revision: https://reviews.llvm.org/D56399
      
      llvm-svn: 350737
      644a3289
    • Louis Dionne's avatar
      [libcxx] Remove outdated XFAILs for aligned deallocation · ea443cf8
      Louis Dionne authored
      AppleClang 10 has been fixed and so these tests don't fail anymore.
      
      llvm-svn: 350736
      ea443cf8
    • Hubert Tong's avatar
      [unittests][Support] AIX: Skip sticky bit file tests · ea2ce500
      Hubert Tong authored
      On AIX, attempting (without root) to set the sticky bit on a file with
      the `chmod` utility will give:
      ```
      chmod: not all requested changes were made to <file>
      ```
      
      The same occurs when modifying other permission bits on a file with the
      sticky bit already set.
      
      It seems that the `chmod` function will report success despite failing
      to set the sticky bit.
      
      llvm-svn: 350735
      ea2ce500
  2. Jan 09, 2019