[all-commits] [llvm/llvm-project] c6691f: [libc] Fix pread under msan (#80893)

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Feb 6 11:17:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6691f689e9aa787b809fd3493bae8a5ca845cea
      https://github.com/llvm/llvm-project/commit/c6691f689e9aa787b809fd3493bae8a5ca845cea
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M libc/src/unistd/linux/CMakeLists.txt
    M libc/src/unistd/linux/pread.cpp

  Log Message:
  -----------
  [libc] Fix pread under msan (#80893)

The pread function wasn't properly unpoisoning its result under msan,
causing test failures downstream when I tried to roll it out. This patch
adds the msan unpoison call that fixes the issue.




More information about the All-commits mailing list