[all-commits] [llvm/llvm-project] 15f0f8: [tests][Driver] Set `--sysroot=""` to allow `DEFAU...
Hubert Tong via All-commits
all-commits at lists.llvm.org
Fri May 15 14:34:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 15f0f824b36ea06fcb17bc56ecd181520b4bfbcf
https://github.com/llvm/llvm-project/commit/15f0f824b36ea06fcb17bc56ecd181520b4bfbcf
Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M clang/test/Driver/darwin-header-search-libcxx.cpp
M clang/test/Driver/darwin-header-search-system.cpp
M clang/test/Driver/mingw-sysroot.cpp
Log Message:
-----------
[tests][Driver] Set `--sysroot=""` to allow `DEFAULT_SYSROOT` build
Summary:
If `DEFAULT_SYSROOT` is configured to some path, some tests would fail.
This patch overrides `sysroot` to be the empty string in the style of
D66834 so that the tests will pass even when the build is configured
with a `DEFAULT_SYSROOT`.
Reviewed By: mstorsjo
Differential Revision: https://reviews.llvm.org/D79694
Commit: 3f5fc73a9d52fc7f128dc4e53ccc63b88fc44fb6
https://github.com/llvm/llvm-project/commit/3f5fc73a9d52fc7f128dc4e53ccc63b88fc44fb6
Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M clang/test/CodeGen/arm-cmse-nonsecure.c
M clang/test/CodeGen/arm-cmse-secure.c
Log Message:
-----------
[test][ARM][CMSE] Use clang_cc1 in arm_cmse.h tests
Summary:
The `arm_cmse.h` header includes standard headers, but some tests that
include this header explicitly specify a target. The standard headers
found via the standard include paths need not be compatible with the
explicitly-specified target from the tests. In order to avoid test
failures caused by such incompatibility, this patch uses `%clang_cc1`,
which doesn't pick up the host system headers.
Reviewed By: chill
Differential Revision: https://reviews.llvm.org/D79693
Commit: e3e0367f9ba142b5a3d4c2362f11b3fcbacfc98d
https://github.com/llvm/llvm-project/commit/e3e0367f9ba142b5a3d4c2362f11b3fcbacfc98d
Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[CMake][AIX] Add `-bcdtors:mbr` option when building with IBM XL
Summary:
The `-bcdtors:mbr` option causes processing for constructors and
destructors to omit otherwise-unreferenced members of static libraries,
matching the processing done on Linux, where `--whole-archive` is not
the default. Applying this option is desirable for reducing the
footprint of an installation.
Reviewed By: daltenty
Differential Revision: https://reviews.llvm.org/D79749
Compare: https://github.com/llvm/llvm-project/compare/1cff8e8de79f...e3e0367f9ba1
More information about the All-commits
mailing list