SuccessChanges

Summary

  1. Use host's executable suffix for clang when cross-compiling compiler-rt (details)
  2. llvm-reduce: Remove unused plugin support/requirements (details)
  3. [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers (details)
  4. Split many_tls_keys.cpp into two tests (details)
  5. Add getauxval() compat for NetBSD (details)
  6. NFC, add missing cl::cat option category to clang-scan-deps options to (details)
Commit 0e88ebe11d930a2c8c1433ffbf0e345b0fb7bef7 by rnk
Use host's executable suffix for clang when cross-compiling compiler-rt
When cross-compiling compiler-rt as part of LLVM e. g. for Linux on a
Windows host and using the just-built clang as cross-compiler, we set
the -DBUILTINS_CMAKE_ARGS="-DCMAKE_SYSTEM_NAME=Linux" flag in top-level
cmake invocation, which causes CMAKE_EXECUTABLE_SUFFIX to be an empty
string in the nested cmake invocation for building builtins.
But the compiler for compiling test cases is meant to be run on host,
therefore it may have the '.exe' suffix.
Handle this by asking cmake about the host system.
Patch by Sergej Jaskiewicz <jaskiewiczs@icloud.com>
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D67401
llvm-svn: 371754
The file was modifiedcompiler-rt/cmake/base-config-ix.cmake
Commit 890f17c256e68f1dddece62c238d43cdfdb84a37 by dblaikie
llvm-reduce: Remove unused plugin support/requirements
llvm-svn: 371755
The file was modifiedllvm/test/Reduce/remove-funcs.ll
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was modifiedllvm/test/Reduce/remove-metadata.ll
The file was modifiedllvm/test/Reduce/remove-args.ll
Commit d977b67ed617f4c1f7e0d1450f3d0adc41cb07b4 by kristof.umann
[analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers
Short and sweet. Whenever I use -analyzer-list-enabled-checkers, I'm
only interested about the configuration, not about the analysis.
Differential Revision: https://reviews.llvm.org/D66714
llvm-svn: 371756
The file was modifiedclang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedclang/test/Analysis/analyzer-enabled-checkers.c
Commit d2e0f207aa5325a27aeb301e5d13e02809e0c26e by n54
Split many_tls_keys.cpp into two tests
Summary: many_tls_keys_pthread.cpp for TSD many_tls_keys_thread.cpp for
TLS
The TSD test is unsupported on NetBSD as it assumes TLS used internally.
TSD on NetBSD does not use TLS.
Reviewers: joerg, vitalybuka, mgorny, dvyukov, kcc
Reviewed By: vitalybuka
Subscribers: jfb, llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D67428
llvm-svn: 371757
The file was addedcompiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
The file was removedcompiler-rt/test/lsan/TestCases/many_tls_keys.cpp
The file was addedcompiler-rt/test/lsan/TestCases/many_tls_keys_pthread.cpp
Commit 02519fc7a6f8c528f67975a9f78ce64dabf402b4 by n54
Add getauxval() compat for NetBSD
Summary: getauxval() is not available on NetBSD and there is no a direct
equivalent.
Add a function that implements the same semantics with NetBSD internals.
Reorder the GetPageSize() functions to prefer the sysctl approach for
NetBSD. It no longer makes a difference which approach is better. Avoid
changing conditional code path.
Reviewers: vitalybuka, dvyukov, mgorny, joerg
Reviewed By: vitalybuka
Subscribers: llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D67329
llvm-svn: 371758
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_getauxval.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Commit 456bfdf5154b05b3b7aefbe8bd360d673feb6a82 by Alex Lorenz
NFC, add missing cl::cat option category to clang-scan-deps options to
ensure they show up in -help
llvm-svn: 371759
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp