[all-commits] [llvm/llvm-project] ee2527: [sanitizer-common] Run module msan init before ear...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Wed Jul 19 10:59:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee252767663c2b22d7806d20a402728286b8e702
      https://github.com/llvm/llvm-project/commit/ee252767663c2b22d7806d20a402728286b8e702
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M compiler-rt/test/ubsan/TestCases/Misc/Linux/sigaction.cpp

  Log Message:
  -----------
  [sanitizer-common] Run module msan init before early sigaction test

MSAN wrappers can be inserted for e.g. the access to stderr in the
constructor of the test, which can segfault if the constructor function
runs before these data structures have been initialized.

Reviewed By: dvyukov

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




More information about the All-commits mailing list