[all-commits] [llvm/llvm-project] 5908c7: [libFuzzer] Add attribute noinline on Fuzzer::Exec...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu Mar 11 19:08:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5908c7ca41bd2dad93bd2f22f2f4692631701ec4
      https://github.com/llvm/llvm-project/commit/5908c7ca41bd2dad93bd2f22f2f4692631701ec4
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerLoop.cpp

  Log Message:
  -----------
  [libFuzzer] Add attribute noinline on Fuzzer::ExecuteCallback().

The inlining of this function needs to be disabled as it is part of the
inpsected stack traces. It's string representation will look different
depending on if it was inlined or not which will cause it's string comparison
to fail.

When it was inlined in only one of the two execution stacks,
minimize_two_crashes.test failed on SystemZ. For details see
https://bugs.llvm.org/show_bug.cgi?id=49152.

Reviewers: Ulrich Weigand, Matt Morehouse, Arthur Eubanks

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




More information about the All-commits mailing list