Skip to content

Sanitizer test regressions with CLANG_CONFIG_FILE_SYSTEM_DIR building with GCC after #60394 fix #123023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xry111 opened this issue Jan 15, 2025 · 0 comments

Comments

@xry111
Copy link
Contributor

xry111 commented Jan 15, 2025

The fix for #60394 has made setting CLANG_NO_DEFAULT_CONFIG=1 only when the build compiler supports --no-default-config, but when we build LLVM suite with GCC, the build compiler obviously does not support this option. Thus when clang is configured with CLANG_CONFIG_FILE_SYSTEM_DIR and the config file contains some compiler options, some tests start to fail:

Failed Tests (2):
  DataFlowSanitizer-x86_64 :: custom.cpp
  DataFlowSanitizer-x86_64 :: origin_unaligned_memtrans.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants