[all-commits] [llvm/llvm-project] 001a12: [libc][NFC] Make x86_64 fenv functions msan safe.

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Mar 8 15:27:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 001a12ed59c354aa759ff3e104748c36803cfaa2
      https://github.com/llvm/llvm-project/commit/001a12ed59c354aa759ff3e104748c36803cfaa2
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    M libc/utils/FPUtil/CMakeLists.txt
    M libc/utils/FPUtil/x86_64/FEnv.h

  Log Message:
  -----------
  [libc][NFC] Make x86_64 fenv functions msan safe.

These functions used inline asm to read FPU state. This change adds
explicit unpoisoning in these functions as the sanitizers don't see the
read operations.




More information about the All-commits mailing list