SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Disable rosegment for old Android versions. (details)
  2. [gn build] restore build command removed in 9595a7ff55b6 for platforms without prebuilts (details)
  3. [gn build] fix get.py change (details)
  4. [libomptarget][cuda] Handle missing _v2 symbols gracefully (details)
  5. [OpenMP] Modify OMP_ALLOCATOR environment variable (details)
  6. [libc++] Give `MoveOnly` all six comparison operators, not just == and <. (details)
  7. Support for instrumenting only selected files or functions (details)
Commit fae16fc0eed7cf60207901818cfe040116f2ef00 by danalbert
Disable rosegment for old Android versions.

The unwinder used by the crash handler on versions of Android prior to
API 29 did not correctly handle binaries built with rosegment, which is
enabled by default for LLD. Android only supports LLD, so it's not an
issue that this flag is not accepted by other linkers.

Reviewed By: srhines

Differential Revision: https://reviews.llvm.org/D95166
The file was modifiedclang/test/Driver/linux-ld.c
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 4dcb5c440323a60d05a6bfeb1ba2e77ff8e6e9f3 by thakis
[gn build] restore build command removed in 9595a7ff55b6 for platforms without prebuilts
The file was modifiedllvm/utils/gn/get.py
Commit 65e2fa50604c01cf1ed3b8cd05253dc447bc107b by thakis
[gn build] fix get.py change
The file was modifiedllvm/utils/gn/get.py
Commit 653655040f3e89f7725ce6961d797d4ac918708b by jonathanchesterfield
[libomptarget][cuda] Handle missing _v2 symbols gracefully

[libomptarget][cuda] Handle missing _v2 symbols gracefully

Follow on from D95367. Dlsym the _v2 symbols if present, otherwise use the
unsuffixed version. Builds a hashtable for the check, can revise for zero
heap allocations later if necessary.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D95415
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
Commit 927af4b3c57681e623b8449fb717a447559358d0 by nawrin.sultana
[OpenMP] Modify OMP_ALLOCATOR environment variable

This patch sets the def-allocator-var ICV based on the environment variables
provided in OMP_ALLOCATOR. Previously, only allowed value for OMP_ALLOCATOR
was a predefined memory allocator. OpenMP 5.1 specification allows predefined
memory allocator, predefined mem space, or predefined mem space with traits in
OMP_ALLOCATOR. If an allocator can not be created using the provided environment
variables, the def-allocator-var is set to omp_default_mem_alloc.

Differential Revision: https://reviews.llvm.org/D94985
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was addedopenmp/runtime/test/env/omp51_alloc_env.c
Commit fc3192026b3156d39c223cc092297c39dd8013f3 by arthur.j.odwyer
[libc++] Give `MoveOnly` all six comparison operators, not just == and <.

Split out of D93512.
The file was modifiedlibcxx/test/support/MoveOnly.h
Commit bb9eb198298099742c823dce11c5edacc9c48d4e by phosek
Support for instrumenting only selected files or functions

This change implements support for applying profile instrumentation
only to selected files or functions. The implementation uses the
sanitizer special case list format to select which files and functions
to instrument, and relies on the new noprofile IR attribute to exclude
functions from instrumentation.

Differential Revision: https://reviews.llvm.org/D94820
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was addedclang/test/CodeGen/profile-filter.c
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/lib/Basic/CMakeLists.txt
The file was addedllvm/test/Transforms/PGOProfile/noprofile.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CodeGenPGO.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was addedclang/include/clang/Basic/ProfileList.h
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was addedclang/lib/Basic/ProfileList.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst