[all-commits] [llvm/llvm-project] 2744c2: [libcxx] Disable failing test for no-exceptions build

ostannard via All-commits all-commits at lists.llvm.org
Tue Sep 15 06:28:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2744c2e2957221c8e9379e2232790c3e56efd90d
      https://github.com/llvm/llvm-project/commit/2744c2e2957221c8e9379e2232790c3e56efd90d
  Author: Oliver Stannard <oliver.stannard at linaro.org>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

  Changed paths:
    M libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp

  Log Message:
  -----------
  [libcxx] Disable failing test for no-exceptions build

This test tries to create a 2 GiB std::string, catching the bad_alloc
exception if the allocation fails. However, for no-exceptions builds
there is no way for the error to be reported, so this crashes with a
null pointer dereference.

Differential revision: https://reviews.llvm.org/D87682




More information about the All-commits mailing list