SuccessChanges

Summary

  1. [debugserver] Add platform cache support to improve performance. (details)
  2. [NFC][scudo] Let disableMemoryTagChecksTestOnly to fail (details)
  3. [NFC][scudo] Fix typo in comment (details)
  4. [AIX] Print printable byte list as quoted string (details)
  5. [sanitizer_common] Add StackTrace::PrintTo method (details)
  6. [sanitizer_common] Remove unused var in test (details)
  7. [AMDGPU] Request module used variables from LDS lowering as internal (details)
Commit 8dd106028b1533f0de03a1ffb4ea0dce40b5a2ff by Jonas Devlieghere
[debugserver] Add platform cache support to improve performance.

The dyld SPI used by debugserver (_dyld_process_info_create) has become
much slower in macOS BigSur 11.3 causing a significant performance
regression when attaching. This commit mitigates that by caching the
result when calling the SPI to compute the platform.

Differential revision: https://reviews.llvm.org/D102833
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.h
Commit 2c212db4ea42fbbc0e83647da4f62261f775388b by Vitaly Buka
[NFC][scudo] Let disableMemoryTagChecksTestOnly to fail

If this happend we can't run corresponding test.
The file was modifiedcompiler-rt/lib/scudo/standalone/memtag.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Commit 51fe7ddce2beb8444a0dccc638b2a9d8dd63c791 by Vitaly Buka
[NFC][scudo] Fix typo in comment
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Commit edf4d69d3888d99187ac28cfcd96a93b41623896 by Jinsong Ji
[AIX] Print printable byte list as quoted string

.byte supports string, so if the whole byte list are printable,
we can actually print the string for readability and LIT tests maintainence.

        .byte 'H,'e,'l,'l,'o,',,' ,'w,'o,'r,'l,'d
->
        .byte "Hello, world"

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D102814
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h
The file was modifiedllvm/test/DebugInfo/XCOFF/function-sections.ll
The file was modifiedllvm/test/DebugInfo/XCOFF/explicit-section.ll
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-byval.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
The file was modifiedllvm/test/DebugInfo/XCOFF/empty.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data-sections.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-exception.ll
Commit d10c1ba487c8b08db079e7698abd503a03c3862d by gbalats
[sanitizer_common] Add StackTrace::PrintTo method

This method is like StackTrace::Print but instead of printing to stderr
it copies its output to a user-provided buffer.

Part of https://reviews.llvm.org/D102451.

Reviewed By: vitalybuka, stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D102815
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
Commit 7c35bf85bfdb52aba6b61433d0c0b058f958202f by gbalats
[sanitizer_common] Remove unused var in test

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D102898
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
Commit 49028858637946ce8c00f12e41138b5ed7783276 by Stanislav.Mekhanoshin
[AMDGPU] Request module used variables from LDS lowering as internal

I do not see any practical difference but technically
used.* variables are internal and a call to getGlobalVariable
misses true as a second argument. NFC as far as I can tell.

Differential Revision: https://reviews.llvm.org/D102884
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp