[all-commits] [llvm/llvm-project] a9bb97: [msan] Break optimization in memccpy tests

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Dec 22 05:45:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9bb97e8410b09446c8d6da3b7bb493f79a4aaea
      https://github.com/llvm/llvm-project/commit/a9bb97e8410b09446c8d6da3b7bb493f79a4aaea
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M compiler-rt/lib/msan/tests/msan_test.cpp

  Log Message:
  -----------
  [msan] Break optimization in memccpy tests

After D116148 the memccpy gets optimized away and the expected
uninitialized memory access does not occur.

Make sure the call does not get optimized away.




More information about the All-commits mailing list