Changes

Summary

  1. [sanitizer] Fix type error in python 3 (details)
  2. [RISCV] Support overloading for RVV miscellaneous functions. (details)
  3. Reformulate OrcJIT tutorial doc to make it more clear. (details)
  4. sanitizer_common: add simpler ThreadRegistry ctor (details)
  5. [libcxx] [test] Clarify weak_ptr_ret on Windows, remove a LIBCXX-WINDOWS-FIXME (details)
  6. [RISCV] Pass -u to linker correctly. (details)
Commit 16f8207de377a055b7b75a3003d82059ca63992d by Vitaly Buka
[sanitizer] Fix type error in python 3
The file was modifiedcompiler-rt/test/sanitizer_common/android_commands/android_run.py
Commit 08cf69c31f849310ec45945d18f0feef4ea8f2e6 by zakk.chen
[RISCV] Support overloading for RVV miscellaneous functions.

Based on this update to the intrinsic doc
https://github.com/riscv/rvv-intrinsic-doc/pull/103

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D105611
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlmul.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vreinterpret.c
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vset.c
The file was modifiedclang/include/clang/Basic/riscv_vector.td
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vget.c
Commit 8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07 by joker.eph
Reformulate OrcJIT tutorial doc to make it more clear.

Fixed a minor writing error. The text was hard to understand.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D105899
The file was modifiedllvm/docs/tutorial/BuildingAJIT2.rst
Commit dfd9808b6cea59ff075498ee7e6e57f2b5b3a798 by Vitaly Buka
sanitizer_common: add simpler ThreadRegistry ctor

Currently ThreadRegistry is overcomplicated because of tsan,
it needs tid quarantine and reuse counters. Other sanitizers
don't need that. It also seems that no other sanitizer now
needs max number of threads. Asan used to need 2^24 limit,
but it does not seem to be needed now. Other sanitizers blindly
copy-pasted that without reasons. Lsan also uses quarantine,
but I don't see why that may be potentially needed.

Add a ThreadRegistry ctor that does not require any sizes
and use it in all sanitizers except for tsan.
In preparation for new tsan runtime, which won't need
any of these parameters as well.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D105713
The file was modifiedcompiler-rt/lib/asan/asan_thread.h
The file was modifiedcompiler-rt/lib/memprof/memprof_thread.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cpp
The file was modifiedcompiler-rt/lib/memprof/memprof_thread.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
The file was modifiedcompiler-rt/lib/lsan/lsan_thread.cpp
The file was modifiedcompiler-rt/lib/asan/asan_thread.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
Commit 2c425c17e678c522d8f4961e9ad94ad718a7cba0 by martin
[libcxx] [test] Clarify weak_ptr_ret on Windows, remove a LIBCXX-WINDOWS-FIXME

On Windows, structs with a destructor are always returned indirectly;
add this to the list of known exceptions in the test where the class
isn't returned in registers as expected.

Differential Revision: https://reviews.llvm.org/D105906
The file was modifiedlibcxx/test/libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp
Commit 5635d2a56dab6dc64d3a3f185d68f676b81dc736 by kito.cheng
[RISCV] Pass -u to linker correctly.

`-u` is a linker option used to pretend a symbol is undefined,
this option are common used for forcing archive member extraction.

This option should pass to `ld`, and many other toolchain in Clang
like `tools::gnutools` has pass that too.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D105091
The file was modifiedclang/test/Driver/riscv-args.c
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp