[all-commits] [llvm/llvm-project] bed888: [scudo][test] Disable -Wfree-nonheap-object

Leonard Chan via All-commits all-commits at lists.llvm.org
Fri Feb 26 11:15:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bed888242662c2327b32b91a03635e079ad5667e
      https://github.com/llvm/llvm-project/commit/bed888242662c2327b32b91a03635e079ad5667e
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp

  Log Message:
  -----------
  [scudo][test] Disable -Wfree-nonheap-object

As of 4f395db86b5cc11bb56853323d3cb1d4b6db5a0b which contains updates to
-Wfree-nonheap-object, a line in this test will trigger the warning. This
particular line is ok though since it's meant to test a free on a bad pointer.

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




More information about the All-commits mailing list