Backporting glibc-2.31 fixes to llvm-8.0.1 and llvm-9.0.1 series


Recently, glibc 2.31 broke the sanitizers-common build due to an ABI
change. A fix for the same has been provided at

I was wondering if there is interest in backporting the fix to llvm
8.0.1 and llvm 9.0.1 series.

I have applied the patch and resolved the minor conflicts for the same
at these two branches which can be applied directly on top of the
current branches:

I have successfully built and tested llvm with the two branches.

Thank you.