[libc][NFC] Make x86_64 fenv functions msan safe.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 8 Mar 2021 23:12:22 +0000 (15:12 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Mon, 8 Mar 2021 23:20:08 +0000 (15:20 -0800)
commit001a12ed59c354aa759ff3e104748c36803cfaa2
tree0c49bc24e37d5d874bfcf7058647e8623e20a6a9
parent0d96ea0792bccca804ed89f7116ef518e40bf34a
[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.
libc/src/__support/CMakeLists.txt
libc/utils/FPUtil/CMakeLists.txt
libc/utils/FPUtil/x86_64/FEnv.h