SuccessChanges

Summary

  1. [lldb/Test] Move @skipIfAsan from test class to test methods. (details)
  2. Make check-llvm run 50% faster on macOS, 18% faster on Windows. (details)
  3. [CMake] Add $ORIGIN/../../../../lib to rpath if BUILD_SHARED_LIBS or (details)
  4. [lldb/CMake] Only set PYTHON_HOME on Windows (details)
  5. [lldb/Docs] Fix capitalization typo. (details)
  6. [libc] Move all tests to a top level `test` directory. (details)
  7. [lld] Fix trivial typos in comments (details)
  8. [PowerPC][LoopVectorize] Extend getRegisterClassForType to consider (details)
  9. [X86] Fix an 8 bit testb being selected when folding a volatile i32 load (details)
Commit 3abc2927cb2372349fbbc0b62382c85d7d000f2c by Jonas Devlieghere
[lldb/Test] Move @skipIfAsan from test class to test methods.
skipTestIfFn can only be used to decorate a test method.
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
Commit f6544934b94932f1d2231238046f83ba8b083040 by thakis
Make check-llvm run 50% faster on macOS, 18% faster on Windows.
While looking at cycle time graphs of some of my bots, I noticed that
327894859cc made check-llvm noticeably slower on macOS and Windows.
As it turns out, the 5 substitutions added in that change were enough to
cause lit to thrash the build-in cache in re.compile()
(re.sub() is implemented as re.compile().sub()), and apparently
applySubstitutions() is on the cricital path and slow when all regexes
need to compile all the time.
(See `_MAXCACHE = 512` in cpython/Lib/re.py)
Supporting full regexes for lit substitutions seems a bit like overkill,
but for now add a simple unbounded cache to recover the lost
performance.
No intended behavior change.
The file was modifiedllvm/utils/lit/lit/TestRunner.py
Commit bbfebd7b8a671c9649305b8a5f72e93dd1ef60e1 by maskray
[CMake] Add $ORIGIN/../../../../lib to rpath if BUILD_SHARED_LIBS or
LLVM_LINK_LLVM_DYLIB on *nix
Summary: lib/python2.7/dist-packages/lldb/_lldb.so is a symlink to
lib/liblldb.so, which depends on lib/libLLVM*.so
(-DBUILD_SHARED_LIBS=ON) or lib/libLLVM-10git.so
(-DLLVM_LINK_LLVM_DYLIB=ON). Add an additional rpath
`$ORIGIN/../../../../lib` so that _lldb.so can be loaded from Python.
This fixes an import error from
lib/python2.7/dist-packages/lldb/__init__.py
  from . import _lldb
ImportError: libLLVMAArch64CodeGen.so.10git: cannot open shared object
file: No such file or directory
The following configurations will work:
* -DBUILD_SHARED_LIBS=ON
* -DBUILD_SHARED_LIBS=OFF -DLLVM_LINK_LLVM_DYLIB=ON
* -DBUILD_SHARED_LIBS=OFF -DLLVM_LINK_LLVM_DYLIB=ON
-DCLANG_LINK_CLANG_DYLIB=ON
(-DCLANG_LINK_CLANG_DYLIB=ON depends on -DLLVM_LINK_LLVM_DYLIB=ON)
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D71800
The file was modifiedlldb/source/API/CMakeLists.txt
Commit 8c8ffd461d16681cb1fc764bedfa8b09fde260aa by Jonas Devlieghere
[lldb/CMake] Only set PYTHON_HOME on Windows
My earlier change for Python auto-detection caused PYTHON_HOME to be set
unconditionally, while before the change this only happened for Windows.
This caused the PythonDataObjectsTest to fail with an import error.
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 0239526cccf8aa708e29eeb7e49de8f6dc6c1a5f by Jonas Devlieghere
[lldb/Docs] Fix capitalization typo.
This has been bothering me for way too long.
The file was modifiedlldb/docs/resources/build.rst
Commit 5b24c088171d3bd7a8ff559c82926e5d4b04f032 by sivachandra
[libc] Move all tests to a top level `test` directory.
A toplevel target, `check-libc` has also been added.
Reviewers: abrachet, phosek
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D72177
The file was addedlibc/test/config/linux/x86_64/syscall_test.cpp
The file was addedlibc/test/config/linux/x86_64/CMakeLists.txt
The file was addedlibc/test/src/errno/CMakeLists.txt
The file was modifiedlibc/src/string/strcpy/CMakeLists.txt
The file was addedlibc/test/src/string/strcat_test.cpp
The file was addedlibc/test/CMakeLists.txt
The file was modifiedlibc/config/linux/x86_64/CMakeLists.txt
The file was addedlibc/test/config/linux/CMakeLists.txt
The file was modifiedlibc/src/errno/CMakeLists.txt
The file was addedlibc/test/src/string/CMakeLists.txt
The file was modifiedlibc/CMakeLists.txt
The file was removedlibc/src/string/strcpy/strcpy_test.cpp
The file was addedlibc/test/src/sys/CMakeLists.txt
The file was addedlibc/test/src/sys/mman/mmap_test.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
The file was addedlibc/test/config/CMakeLists.txt
The file was modifiedlibc/docs/source_layout.rst
The file was removedlibc/src/string/strcat/strcat_test.cpp
The file was modifiedlibc/src/sys/mman/CMakeLists.txt
The file was addedlibc/test/src/string/strcpy_test.cpp
The file was modifiedlibc/src/string/strcat/CMakeLists.txt
The file was removedlibc/config/linux/x86_64/syscall_test.cpp
The file was addedlibc/test/src/CMakeLists.txt
The file was removedlibc/src/errno/errno_test.cpp
The file was addedlibc/test/src/errno/errno_test.cpp
The file was removedlibc/src/sys/mman/mmap_test.cpp
The file was addedlibc/test/src/sys/mman/CMakeLists.txt
Commit 7ae3d335467a24faa80ebd9b31446c649570ca0c by maskray
[lld] Fix trivial typos in comments
Reviewed By: ruiu, MaskRay
Differential Revision: https://reviews.llvm.org/D72196
The file was modifiedlld/docs/windows_support.rst
The file was modifiedlld/include/lld/ReaderWriter/MachOLinkingContext.h
The file was modifiedlld/lib/Driver/DarwinLdDriver.cpp
The file was modifiedlld/Common/Filesystem.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/aarch64-movw-tprel.s
The file was modifiedlld/test/wasm/signature-mismatch-unknown.ll
The file was modifiedlld/test/ELF/ppc64-bsymbolic-toc-restore.s
The file was modifiedlld/lib/Core/Resolver.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/GOTPass.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
The file was modifiedlld/include/lld/Core/Atom.h
The file was modifiedlld/docs/WebAssembly.rst
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/File.h
The file was modifiedlld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/include/lld/Core/Instrumentation.h
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/test/ELF/linkerscript/assert.s
The file was modifiedlld/wasm/InputChunks.h
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/Config.h
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/include/lld/Core/Reference.h
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/test/wasm/export-optional-lazy.ll
Commit e29a2e6be4e114b4233a2e0feedb74b2f34cf782 by Jinsong Ji
[PowerPC][LoopVectorize] Extend getRegisterClassForType to consider
double and other floating point type
In https://reviews.llvm.org/D67148, we use isFloatTy to test floating
point type, otherwise we return GPRRC. So 'double' will be classified as
GPRRC, which is not accurate.
This patch covers other floating point types.
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D71946
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit df3f4e0d77e53193acd423d1b02d3fd3bf065bf7 by Amara Emerson
[X86] Fix an 8 bit testb being selected when folding a volatile i32 load
pattern.
Differential Revision: https://reviews.llvm.org/D71581
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/X86/select-testb-volatile-load.ll