[all-commits] [llvm/llvm-project] 39faf4: [libc++] Ensure streams are initialized early

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Sep 16 10:19:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 39faf428164a28f3652370958ce893d9200927c8
      https://github.com/llvm/llvm-project/commit/39faf428164a28f3652370958ce893d9200927c8
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M libcxx/src/iostream.cpp
    A libcxx/test/std/input.output/iostream.objects/init.pass.cpp

  Log Message:
  -----------
  [libc++] Ensure streams are initialized early

When statically linking libc++ on some systems, the streams are not
initialized early enough, which causes all kinds of issues. This was
reported e.g. in http://llvm.org/PR28954, but also in various open
source projects that use libc++.

Fixes http://llvm.org/PR28954.

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




More information about the All-commits mailing list