[all-commits] [llvm/llvm-project] 1e78d5: [libc++] Fix lifetime issues of temporaries.

mordante via All-commits all-commits at lists.llvm.org
Tue Nov 9 10:01:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e78d5d008f95b47834ce2438a9b0faf96c85985
      https://github.com/llvm/llvm-project/commit/1e78d5d008f95b47834ce2438a9b0faf96c85985
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp

  Log Message:
  -----------
  [libc++] Fix lifetime issues of temporaries.

The ASAN build failed due to using pointers to a temporary whose
lifetime had expired.

Updating the libc++ Docker image to Ubuntu Focal caused some breakage.
This was temporary disabled in D112737. This re-enables two of these
tests.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list