[all-commits] [llvm/llvm-project] f06cd8: [libcxx] Use mtx_plain | mtx_recursive following C...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Jan 17 01:12:47 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f06cd8c8c8e2adc5dad66a851bc1df1ecdd1b58e
      https://github.com/llvm/llvm-project/commit/f06cd8c8c8e2adc5dad66a851bc1df1ecdd1b58e
  Author: Petr Hosek <phosek at google.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M libcxx/include/__threading_support

  Log Message:
  -----------
  [libcxx] Use mtx_plain | mtx_recursive following C11 API

The C11 API specifies that to initialize a recursive mutex,
mtx_plain | mtx_recursive should be used with mtx_init.

Differential Revision: https://reviews.llvm.org/D72809

(cherry picked from commit 3481e5d7ed08d068a4e3427cb1afcd8bf2acafdc)


  Commit: afbebff6cd7be7329bda4500dbfacfc94ff8edba
      https://github.com/llvm/llvm-project/commit/afbebff6cd7be7329bda4500dbfacfc94ff8edba
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M lld/ELF/Target.cpp
    M lld/test/ELF/mips-jalr-non-functions.s

  Log Message:
  -----------
  [ELF] Avoid false-positive assert in getErrPlace()

This assertion was added as part of D70659 but did not account for .bss
input sections. I noticed that this assert was incorrectly triggering
while building FreeBSD for MIPS64. Fixed by relaxing the assert to also
account for SHT_NOBITS input sections and adjust the test
mips-jalr-non-function.s to link a file with a .bss section first.

Reviewed By: MaskRay, grimar
Differential Revision: https://reviews.llvm.org/D72567

(cherry picked from commit 441410be471d5d0a5d1d47cf363de155e397a0c2)


Compare: https://github.com/llvm/llvm-project/compare/cd4c65f91d5a...afbebff6cd7b


More information about the All-commits mailing list