aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-01-10 08:44:44 -0500
committerAaron Ballman <aaron@aaronballman.com>2022-01-10 08:45:46 -0500
commitf282b6809105075b65974989459ee420ecd406e9 (patch)
treec3ca7644d77ad1ad9ced4b476b4c9464675508e1 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentc01260a781df727c98f6dc16b6233bd2395f5fed (diff)
downloadllvm-f282b6809105075b65974989459ee420ecd406e9.zip
llvm-f282b6809105075b65974989459ee420ecd406e9.tar.gz
llvm-f282b6809105075b65974989459ee420ecd406e9.tar.bz2
set __NO_MATH_ERRNO__ if -fno-math-errno
This causes modern glibc to unset math_errhandling MATH_ERRNO. gcc 12 also sets some other macros, but most of them are associated with flags ignored by clang, so without library examples, it is difficult to determine whether they should be set. I think setting this one macro is OK for now.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions