HomePhabricator

[Sanitizer] Fix failing sanitizer tests

Authored by yln on Feb 5 2021, 9:31 PM.

Description

[Sanitizer] Fix failing sanitizer tests

The new pass manager was enabled by default [1].

The commit message states the following relevant differences:

  • The inliner works slightly differently
  • -O1 does some amount of inlining

These tests are affected because they specify -O1 and then check the
reported stack trace.

[1] https://reviews.llvm.org/D95380

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