[all-commits] [llvm/llvm-project] b35159: [libFuzzer] Fix fuzzer-oom.test.

Matt Morehouse via All-commits all-commits at lists.llvm.org
Tue Apr 13 11:34:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b351590baed5472a0def984d9bb0b035cc1ae93c
      https://github.com/llvm/llvm-project/commit/b351590baed5472a0def984d9bb0b035cc1ae93c
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp
    M compiler-rt/test/fuzzer/OutOfMemoryTest.cpp

  Log Message:
  -----------
  [libFuzzer] Fix fuzzer-oom.test.

SinkPtr was not correctly marked as volatile, causing the malloc to get
optimized out.  This was causing 20-minute timeouts for the test and no
OOM.




More information about the All-commits mailing list