Fix sanitizer-common build with glibc 2.31 (#47)

The type of ipc_perm mode field used by sanitizers is inconsistent with one
found in glibc 2.31, resulting in a test failure during build.

The sanitizers don't actually use the field directly and only care about the
size and alignment of the whole structure.

Disable the field check until the upgrade to LLVM 10 which addresses the issue
in more comprehensive way.

Co-authored-by: Tomasz Miąsko <tomasz.miasko@gmail.com>
1 file changed
tree: fed7bfb167650d5a8775d2d3968542564ca5af74
  1. .github/
  2. clang/
  3. clang-tools-extra/
  4. compiler-rt/
  5. debuginfo-tests/
  6. libclc/
  7. libcxx/
  8. libcxxabi/
  9. libunwind/
  10. lld/
  11. lldb/
  12. llgo/
  13. llvm/
  14. openmp/
  15. parallel-libs/
  16. polly/
  17. pstl/
  18. .arcconfig
  19. .clang-format
  20. .clang-tidy
  21. .gitignore
  22. README.md
README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.