SuccessChanges

Summary

  1. [Builtins] Downgrade duplicate source file warning from a fatal error to (details)
  2. Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" (details)
  3. Reland "[lit] Synthesize artificial deadline" (details)
  4. libhwasan initialisation include kernel syscall ABI relaxation (details)
Commit dc748816e2aec8941d63f8ad07fb82aff6be8af7 by dan
[Builtins] Downgrade duplicate source file warning from a fatal error to
a warning.
This is a follow up to r375150 to unbreak the `clang-ppc64be-linux` bot.
The commit caused running the tests to fail due to
``` llvm-lit:
/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/projects/compiler-rt/test/builtins/Unit/lit.cfg.py:116:
fatal: builtins_source_features contains duplicates:
['librt_has_divtc3']
```
This commit should be reverted once the build system bug for powerpc is
fixed.
llvm-svn: 375162
The file was modifiedcompiler-rt/test/builtins/Unit/lit.cfg.py
Commit 54017d0f526391a88e5e250a4bbc7a8ea77fa902 by martin
Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests"
This reverts SVN r375156, as it seems to have broken tests when run on
macOS:
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2706/console
llvm-svn: 375163
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp
Commit 2ca8e27bd038673b514c8452d661a413ce0d2123 by jlettner
Reland "[lit] Synthesize artificial deadline"
We always want to use a deadline when calling `result.await`.  Let's
synthesize an artificial deadline (now plus one year) to simplify code
and do less busy waiting.
Thanks to Reid Kleckner for diagnosing that a deadline for of "positive
infinity" does not work with Python 3 anymore.  See commit:
4ff1e34b606d9a9fcfd8b8b5449a558315af94e5
I tested this patch with Python 2 and Python 3.
llvm-svn: 375165
The file was modifiedllvm/utils/lit/lit/run.py
Commit d5282dfc410c6af5518b046c3ec02339aaf19950 by eugeni.stepanov
libhwasan initialisation include kernel syscall ABI relaxation
Summary: Until now AArch64 development has been on patched kernels that
have an always on relaxed syscall ABI where tagged pointers are
accepted. The patches that have gone into the mainline kernel rely on
each process opting in to this relaxed ABI.
This commit adds code to choose that ABI into __hwasan_init.
The idea has already been agreed with one of the hwasan developers
(http://lists.llvm.org/pipermail/llvm-dev/2019-September/135328.html).
The patch ignores failures of `EINVAL` for Android, since there are
older versions of the Android kernel that don't require this `prctl` or
even have the relevant values.  Avoiding EINVAL will let the library run
on them.
I've tested this on an AArch64 VM running a kernel that requires this
prctl, having compiled both with clang and gcc.
Patch by Matthew Malcomson.
Reviewers: eugenis, kcc, pcc
Reviewed By: eugenis
Subscribers: srhines, kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68794
llvm-svn: 375166
The file was modifiedcompiler-rt/lib/hwasan/hwasan.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_linux.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan.cpp