nix-build -A ccls
these derivations will be built:
  /nix/store/67yi96rvn51n20v9nf6vmy2i2birv8kg-llvm-8.0.1.drv
  /nix/store/f1ypzrg22ma15pwpli9aqr4l4a0hr759-compiler-rt-8.0.1.drv
  /nix/store/pigiiwg2n6rssfh6d34ay15vmh6m4r2x-lld-8.0.1.drv
  /nix/store/jamn4p5sk5zrqcdscwxpigfcsk816wzj-clang-8.0.1.drv
  /nix/store/5mqwzqvlwrb283fir5ignz0b8nd73syx-clang-wrapper-8.0.1.drv
  /nix/store/97crd45qx46mml2jiilpnv5744fjc07l-stdenv-linux.drv
  /nix/store/srx4kx5pqg9vac5dgcpnpkcqw5v49nsd-ccls-0.20201025.drv
building '/nix/store/67yi96rvn51n20v9nf6vmy2i2birv8kg-llvm-8.0.1.drv'...
unpacking sources
unpacking source archive /nix/store/rj82qmih2wqkfx790x112cqjawpq7pv8-llvm-8.0.1.src.tar.xz
patching sources
patching file tools/llvm-config/llvm-config.cpp
Hunk #1 succeeded at 342 (offset 9 lines).
patching script interpreter paths in test/BugPoint/compile-custom.ll.py
test/BugPoint/compile-custom.ll.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/papbnjfxwrdkmz6xfp7v2q7nxyvgcr5l-python3-3.8.6/bin/python"
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ims61dr2riwq31i4gbnvagsdlhdhxi78-llvm-8.0.1-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ims61dr2riwq31i4gbnvagsdlhdhxi78-llvm-8.0.1-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ims61dr2riwq31i4gbnvagsdlhdhxi78-llvm-8.0.1-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/share/doc/LLVM -DCMAKE_INSTALL_INFODIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ims61dr2riwq31i4gbnvagsdlhdhxi78-llvm-8.0.1-lib/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4l1qrgxfy171bngpphp4p9wj7bhrlfn3-binutils-2.34/bin/strip -DCMAKE_RANLIB=/nix/store/4l1qrgxfy171bngpphp4p9wj7bhrlfn3-binutils-2.34/bin/ranlib -DCMAKE_AR=/nix/store/4l1qrgxfy171bngpphp4p9wj7bhrlfn3-binutils-2.34/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1 -DCMAKE_BUILD_TYPE=Release -DLLVM_INSTALL_UTILS=ON -DLLVM_BUILD_TESTS=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_ENABLE_DUMP=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_BINUTILS_INCDIR=/nix/store/sspclb69dmyrinal8rlwcswykb4lk850-libbfd-2.34-dev/include
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /nix/store/y78inja64xaaq6bx33nxn2h1lgw0jswk-gcc-wrapper-10.2.0/bin/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/y78inja64xaaq6bx33nxn2h1lgw0jswk-gcc-wrapper-10.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/y78inja64xaaq6bx33nxn2h1lgw0jswk-gcc-wrapper-10.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - found
-- Looking for perfmon/perf_event.h
-- Looking for perfmon/perf_event.h - found
-- Looking for perfmon/pfmlib.h
-- Looking for perfmon/pfmlib.h - found
-- Looking for perfmon/pfmlib_perf_event.h
-- Looking for perfmon/pfmlib_perf_event.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for setupterm in terminfo
-- Looking for setupterm in terminfo - not found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Found LibXml2: /nix/store/srj435swzz0v83q2ys72qxkvs608g5s1-libxml2-2.9.10/lib/libxml2.so (found version "2.9.10")
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - not found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for ffi_call
-- Looking for ffi_call - found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /nix/store/papbnjfxwrdkmz6xfp7v2q7nxyvgcr5l-python3-3.8.6/bin/python (found version "3.8.6")
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
-- Failed to find LLVM FileCheck
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /build/llvm/build
building
'/nix/store/n1ziy8r1ls5264hpcxmwr0iafd7hckkp-llvm-8.0.1/lib' -> '/build/llvm/build/lib'
build flags: -j12 -l12 SHELL=/nix/store/zcl19h06322c3kss6bvf05w2pxg4kfll-bash-4.4-p23/bin/bash
Scanning dependencies of target LLVMDemangle
Scanning dependencies of target LLVMTableGen
Scanning dependencies of target LLVMHello_exports
Scanning dependencies of target LLVMBinaryFormat
Scanning dependencies of target obj.llvm-tblgen
Scanning dependencies of target LLVMMCDisassembler
Scanning dependencies of target llvm_vcsrevision_h
Scanning dependencies of target LLVMMCParser
Scanning dependencies of target LLVMMC
Scanning dependencies of target LLVMSupport
Scanning dependencies of target LLVMObjectYAML
Scanning dependencies of target LLVMMCA
[  0%] Creating export file for LLVMHello
[  0%] Built target llvm_vcsrevision_h
[  0%] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
[  0%] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o
[  0%] Built target LLVMHello_exports
Scanning dependencies of target LLVMOption
[  0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/Disassembler.cpp.o
[  0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/AMDGPUMetadataVerifier.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Context.cpp.o
[  0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Arg.cpp.o
[  0%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/CodeViewYAMLDebugSections.cpp.o
[  0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o
[  0%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
[  0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AArch64TargetParser.cpp.o
In file included from /build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:14,
                 from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:17: error: found ':' in nested-name-specifier, expected '::'
   14 | enum Qualifiers : uint8_t {
      |                 ^
      |                 ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:6: error: 'Qualifiers' has not been declared
   14 | enum Qualifiers : uint8_t {
      |      ^~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:27: error: expected unqualified-id before '{' token
   14 | enum Qualifiers : uint8_t {
      |                           ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   25 | enum class StorageClass : uint8_t {
      | ~~~~ ^~~~~
      |      -----
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:25: error: found ':' in nested-name-specifier, expected '::'
   25 | enum class StorageClass : uint8_t {
      |                         ^
      |                         ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:12: error: 'StorageClass' has not been declared
   25 | enum class StorageClass : uint8_t {
      |            ^~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:35: error: expected unqualified-id before '{' token
   25 | enum class StorageClass : uint8_t {
      |                                   ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   38 | enum class CallingConv : uint8_t {
      | ~~~~ ^~~~~
      |      -----
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:24: error: found ':' in nested-name-specifier, expected '::'
   38 | enum class CallingConv : uint8_t {
      |                        ^
      |                        ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:12: error: 'CallingConv' has not been declared
   38 | enum class CallingConv : uint8_t {
      |            ^~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:34: error: expected unqualified-id before '{' token
   38 | enum class CallingConv : uint8_t {
      |                                  ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   51 | enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
      | ~~~~ ^~~~~
      |      -----
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:26: error: found ':' in nested-name-specifier, expected '::'
   51 | enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
      |                          ^
      |                          ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:12: error: 'ReferenceKind' has not been declared
   51 | enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
      |            ^~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:36: error: expected unqualified-id before '{' token
   51 | enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
      |                                    ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   90 | enum class IntrinsicFunctionKind : uint8_t {
      | ~~~~ ^~~~~
      |      -----
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:34: error: found ':' in nested-name-specifier, expected '::'
   90 | enum class IntrinsicFunctionKind : uint8_t {
      |                                  ^
      |                                  ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:12: error: 'IntrinsicFunctionKind' has not been declared
   90 | enum class IntrinsicFunctionKind : uint8_t {
      |            ^~~~~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:44: error: expected unqualified-id before '{' token
   90 | enum class IntrinsicFunctionKind : uint8_t {
      |                                            ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:181:16: error: found ':' in nested-name-specifier, expected '::'
  181 | enum FuncClass : uint16_t {
      |                ^
      |                ::
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:181:6: error: 'FuncClass' has not been declared
  181 | enum FuncClass : uint16_t {
      |      ^~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:181:27: error: expected unqualified-id before '{' token
  181 | enum FuncClass : uint16_t {
      |                           ^
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:239:8: error: 'string' in namespace 'std' does not name a type
  239 |   std::string toString(OutputFlags Flags = OF_Default) const;
      |        ^~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:7:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
    6 | #include <array>
  +++ |+#include <string>
    7 |
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:286:3: error: 'Qualifiers' does not name a type
  286 |   Qualifiers Quals = Q_None;
      |   ^~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:311:3: error: 'CallingConv' does not name a type
  311 |   CallingConv CallConvention = CallingConv::None;
      |   ^~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:314:3: error: 'FuncClass' does not name a type
  314 |   FuncClass FunctionClass = FC_Global;
      |   ^~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:345:3: error: 'uint64_t' does not name a type; did you mean 'u_int64_t'?
  345 |   uint64_t OffsetInVTable = 0;
      |   ^~~~~~~~
      |   u_int64_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:368:65: error: expected ')' before 'Operator'
  368 |   explicit IntrinsicFunctionIdentifierNode(IntrinsicFunctionKind Operator)
      |                                           ~                     ^~~~~~~~~
      |                                                                 )
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:374:3: error: 'IntrinsicFunctionKind' does not name a type
  374 |   IntrinsicFunctionKind Operator;
      |   ^~~~~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:392:3: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
  392 |   uint32_t ScopeIndex = 0;
      |   ^~~~~~~~
      |   u_int32_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:425:5: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
  425 |     uint32_t StaticOffset = 0;
      |     ^~~~~~~~
      |     u_int32_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:530:30: error: expected ')' before 'Value'
  530 |   IntegerLiteralNode(uint64_t Value, bool IsNegative)
      |                     ~        ^~~~~~
      |                              )
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:535:3: error: 'uint64_t' does not name a type; did you mean 'u_int64_t'?
  535 |   uint64_t Value = 0;
      |   ^~~~~~~~
      |   u_int64_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:545:3: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
  545 |   uint32_t NVOffset = 0;
      |   ^~~~~~~~
      |   u_int32_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:547:3: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
  547 |   uint32_t VBTableOffset = 0;
      |   ^~~~~~~~
      |   u_int32_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:548:3: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
  548 |   uint32_t Flags = 0;
      |   ^~~~~~~~
      |   u_int32_t
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:563:3: error: 'Qualifiers' does not name a type
  563 |   Qualifiers Quals;
      |   ^~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:590:3: error: 'StorageClass' does not name a type
  590 |   StorageClass SC = StorageClass::None;
      |   ^~~~~~~~~~~~
In file included from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:165:48: error: 'StorageClass' has not been declared
  165 |                                                StorageClass SC);
      |                                                ^~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:168:3: error: 'Qualifiers' does not name a type
  168 |   Qualifiers demanglePointerExtQualifiers(StringView &MangledName);
      |   ^~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:245:3: error: 'FuncClass' does not name a type
  245 |   FuncClass demangleFunctionClass(StringView &MangledName);
      |   ^~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:246:3: error: 'CallingConv' does not name a type
  246 |   CallingConv demangleCallingConvention(StringView &MangledName);
      |   ^~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:247:3: error: 'StorageClass' does not name a type
  247 |   StorageClass demangleVariableStorageClass(StringView &MangledName);
      |   ^~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:252:13: error: 'Qualifiers' was not declared in this scope
  252 |   std::pair<Qualifiers, bool> demangleQualifiers(StringView &MangledName);
      |             ^~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:252:29: error: template argument 1 is invalid
  252 |   std::pair<Qualifiers, bool> demangleQualifiers(StringView &MangledName);
      |                             ^
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:220:18: error: 'Qualifiers' was not declared in this scope
  220 | static std::pair<Qualifiers, PointerAffinity>
      |                  ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:220:45: error: template argument 1 is invalid
  220 | static std::pair<Qualifiers, PointerAffinity>
      |                                             ^
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In function 'int demanglePointerCVQualifiers(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:223:27: error: 'Q_None' was not declared in this scope
  223 |     return std::make_pair(Q_None, PointerAffinity::RValueReference);
      |                           ^~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:227:27: error: 'Q_None' was not declared in this scope
  227 |     return std::make_pair(Q_None, PointerAffinity::Reference);
      |                           ^~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:231:27: error: 'Q_Const' was not declared in this scope
  231 |     return std::make_pair(Q_Const, PointerAffinity::Pointer);
      |                           ^~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:233:27: error: 'Q_Volatile' was not declared in this scope
  233 |     return std::make_pair(Q_Volatile, PointerAffinity::Pointer);
      |                           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:235:27: error: 'Qualifiers' was not declared in this scope
  235 |     return std::make_pair(Qualifiers(Q_Const | Q_Volatile),
      |                           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:240:25: error: 'Q_None' was not declared in this scope
  240 |   return std::make_pair(Q_None, PointerAffinity::Pointer);
      |                         ^~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::SpecialTableSymbolNode* llvm::ms_demangle::Demangler::demangleSpecialTableSymbolNode(StringView&, llvm::ms_demangle::SpecialIntrinsicKind)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:280:18: error: 'struct llvm::ms_demangle::SpecialTableSymbolNode' has no member named 'Quals'
  280 |   std::tie(STSN->Quals, IsMember) = demangleQualifiers(MangledName);
      |                  ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::LocalStaticGuardVariableNode* llvm::ms_demangle::Demangler::demangleLocalStaticGuard(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:305:11: error: 'struct llvm::ms_demangle::LocalStaticGuardIdentifierNode' has no member named 'ScopeIndex'
  305 |     LSGI->ScopeIndex = demangleUnsigned(MangledName);
      |           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::VariableSymbolNode* llvm::ms_demangle::Demangler::demangleRttiBaseClassDescriptorNode(llvm::ms_demangle::ArenaAllocator&, StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:359:10: error: 'struct llvm::ms_demangle::RttiBaseClassDescriptorNode' has no member named 'NVOffset'
  359 |   RBCDN->NVOffset = demangleUnsigned(MangledName);
      |          ^~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:361:10: error: 'struct llvm::ms_demangle::RttiBaseClassDescriptorNode' has no member named 'VBTableOffset'; did you mean 'VBPtrOffset'?
  361 |   RBCDN->VBTableOffset = demangleUnsigned(MangledName);
      |          ^~~~~~~~~~~~~
      |          VBPtrOffset
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:362:10: error: 'struct llvm::ms_demangle::RttiBaseClassDescriptorNode' has no member named 'Flags'
  362 |   RBCDN->Flags = demangleUnsigned(MangledName);
      |          ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: At global scope:
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:504:8: error: 'IntrinsicFunctionKind' does not name a type
  504 | static IntrinsicFunctionKind
      |        ^~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::IdentifierNode* llvm::ms_demangle::Demangler::demangleFunctionIdentifierCode(StringView&, llvm::ms_demangle::FunctionIdentifierCodeGroup)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:651:11: error: 'translateIntrinsicFunctionCode' was not declared in this scope
  651 |           translateIntrinsicFunctionCode(CH, Group));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:656:9: error: 'translateIntrinsicFunctionCode' was not declared in this scope
  656 |         translateIntrinsicFunctionCode(MangledName.popFront(), Group));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::SymbolNode* llvm::ms_demangle::Demangler::demangleEncodedSymbol(StringView&, llvm::ms_demangle::QualifiedNameNode*)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:680:5: error: 'StorageClass' was not declared in this scope
  680 |     StorageClass SC = demangleVariableStorageClass(MangledName);
      |     ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:681:50: error: 'SC' was not declared in this scope
  681 |     return demangleVariableEncoding(MangledName, SC);
      |                                                  ^~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: At global scope:
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:756:57: error: 'StorageClass' has not been declared
  756 |                                                         StorageClass SC) {
      |                                                         ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::VariableSymbolNode* llvm::ms_demangle::Demangler::demangleVariableEncoding(StringView&, int)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:760:8: error: 'struct llvm::ms_demangle::VariableSymbolNode' has no member named 'SC'
  760 |   VSN->SC = SC;
      |        ^~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:768:5: error: 'Qualifiers' was not declared in this scope
  768 |     Qualifiers ExtraChildQuals = Q_None;
      |     ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:769:10: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
  769 |     PTN->Quals = Qualifiers(VSN->Type->Quals |
      |          ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:769:40: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
  769 |     PTN->Quals = Qualifiers(VSN->Type->Quals |
      |                                        ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:770:29: error: 'demanglePointerExtQualifiers' was not declared in this scope; did you mean 'demanglePointerCVQualifiers'?
  770 |                             demanglePointerExtQualifiers(MangledName));
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             demanglePointerCVQualifiers
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:773:14: error: 'ExtraChildQuals' was not declared in this scope
  773 |     std::tie(ExtraChildQuals, IsMember) = demangleQualifiers(MangledName);
      |              ^~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:780:19: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
  780 |     PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals);
      |                   ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:780:52: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
  780 |     PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals);
      |                                                    ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:785:16: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
  785 |     VSN->Type->Quals = demangleQualifiers(MangledName).first;
      |                ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:785:56: error: request for member 'first' in '((llvm::ms_demangle::Demangler*)this)->llvm::ms_demangle::Demangler::demangleQualifiers((* & MangledName))', which is of non-class type 'int'
  785 |     VSN->Type->Quals = demangleQualifiers(MangledName).first;
      |                                                        ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::FunctionSymbolNode* llvm::ms_demangle::Demangler::demangleVcallThunkNode(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1154:19: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'FunctionClass'
 1154 |   FSN->Signature->FunctionClass = FC_NoParameterList;
      |                   ^~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1154:35: error: 'FC_NoParameterList' was not declared in this scope
 1154 |   FSN->Signature->FunctionClass = FC_NoParameterList;
      |                                   ^~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1160:11: error: 'struct llvm::ms_demangle::VcallThunkIdentifierNode' has no member named 'OffsetInVTable'
 1160 |     VTIN->OffsetInVTable = demangleUnsigned(MangledName);
      |           ^~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1164:21: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'CallConvention'
 1164 |     FSN->Signature->CallConvention = demangleCallingConvention(MangledName);
      |                     ^~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1164:38: error: 'demangleCallingConvention' was not declared in this scope
 1164 |     FSN->Signature->CallConvention = demangleCallingConvention(MangledName);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: At global scope:
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1481:1: error: 'FuncClass' does not name a type
 1481 | FuncClass Demangler::demangleFunctionClass(StringView &MangledName) {
      | ^~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1563:1: error: 'CallingConv' does not name a type
 1563 | CallingConv Demangler::demangleCallingConvention(StringView &MangledName) {
      | ^~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1593:1: error: 'StorageClass' does not name a type
 1593 | StorageClass Demangler::demangleVariableStorageClass(StringView &MangledName) {
      | ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1612:11: error: 'Qualifiers' was not declared in this scope
 1612 | std::pair<Qualifiers, bool>
      |           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1612:27: error: template argument 1 is invalid
 1612 | std::pair<Qualifiers, bool>
      |                           ^
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'int llvm::ms_demangle::Demangler::demangleQualifiers(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1618:27: error: 'Q_None' was not declared in this scope
 1618 |     return std::make_pair(Q_None, true);
      |                           ^~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1620:27: error: 'Q_Const' was not declared in this scope
 1620 |     return std::make_pair(Q_Const, true);
      |                           ^~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1622:27: error: 'Q_Volatile' was not declared in this scope
 1622 |     return std::make_pair(Q_Volatile, true);
      |                           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1624:27: error: 'Qualifiers' was not declared in this scope
 1624 |     return std::make_pair(Qualifiers(Q_Const | Q_Volatile), true);
      |                           ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1636:25: error: 'Q_None' was not declared in this scope
 1636 |   return std::make_pair(Q_None, false);
      |                         ^~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::TypeNode* llvm::ms_demangle::Demangler::demangleType(StringView&, llvm::ms_demangle::QualifierMangleMode)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1643:3: error: 'Qualifiers' was not declared in this scope
 1643 |   Qualifiers Quals = Q_None;
      |   ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1646:14: error: 'Quals' was not declared in this scope
 1646 |     std::tie(Quals, IsMember) = demangleQualifiers(MangledName);
      |              ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1649:16: error: 'Quals' was not declared in this scope
 1649 |       std::tie(Quals, IsMember) = demangleQualifiers(MangledName);
      |                ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1680:7: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
 1680 |   Ty->Quals = Qualifiers(Ty->Quals | Quals);
      |       ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1680:30: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
 1680 |   Ty->Quals = Qualifiers(Ty->Quals | Quals);
      |                              ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1680:38: error: 'Quals' was not declared in this scope
 1680 |   Ty->Quals = Qualifiers(Ty->Quals | Quals);
      |                                      ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::FunctionSignatureNode* llvm::ms_demangle::Demangler::demangleFunctionType(StringView&, bool)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1699:10: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'Quals'
 1699 |     FTy->Quals = demanglePointerExtQualifiers(MangledName);
      |          ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1699:18: error: 'demanglePointerExtQualifiers' was not declared in this scope; did you mean 'demanglePointerCVQualifiers'?
 1699 |     FTy->Quals = demanglePointerExtQualifiers(MangledName);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  demanglePointerCVQualifiers
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1701:10: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'Quals'
 1701 |     FTy->Quals = Qualifiers(FTy->Quals | demangleQualifiers(MangledName).first);
      |          ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1701:34: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'Quals'
 1701 |     FTy->Quals = Qualifiers(FTy->Quals | demangleQualifiers(MangledName).first);
      |                                  ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1701:74: error: request for member 'first' in '((llvm::ms_demangle::Demangler*)this)->llvm::ms_demangle::Demangler::demangleQualifiers((* & MangledName))', which is of non-class type 'int'
 1701 |     FTy->Quals = Qualifiers(FTy->Quals | demangleQualifiers(MangledName).first);
      |                                                                          ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1701:18: error: 'Qualifiers' was not declared in this scope
 1701 |     FTy->Quals = Qualifiers(FTy->Quals | demangleQualifiers(MangledName).first);
      |                  ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1705:8: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'CallConvention'
 1705 |   FTy->CallConvention = demangleCallingConvention(MangledName);
      |        ^~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1705:25: error: 'demangleCallingConvention' was not declared in this scope
 1705 |   FTy->CallConvention = demangleCallingConvention(MangledName);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::FunctionSymbolNode* llvm::ms_demangle::Demangler::demangleFunctionEncoding(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1722:3: error: 'FuncClass' was not declared in this scope
 1722 |   FuncClass ExtraFlags = FC_None;
      |   ^~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1724:5: error: 'ExtraFlags' was not declared in this scope
 1724 |     ExtraFlags = FC_ExternC;
      |     ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1724:18: error: 'FC_ExternC' was not declared in this scope
 1724 |     ExtraFlags = FC_ExternC;
      |                  ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1726:12: error: expected ';' before 'FC'
 1726 |   FuncClass FC = demangleFunctionClass(MangledName);
      |            ^~~
      |            ;
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1727:3: error: 'FC' was not declared in this scope
 1727 |   FC = FuncClass(ExtraFlags | FC);
      |   ^~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1727:18: error: 'ExtraFlags' was not declared in this scope
 1727 |   FC = FuncClass(ExtraFlags | FC);
      |                  ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1731:12: error: 'FC_StaticThisAdjust' was not declared in this scope
 1731 |   if (FC & FC_StaticThisAdjust) {
      |            ^~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1733:21: error: 'struct llvm::ms_demangle::ThunkSignatureNode::ThisAdjustor' has no member named 'StaticOffset'
 1733 |     TTN->ThisAdjust.StaticOffset = demangleSigned(MangledName);
      |                     ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1734:19: error: 'FC_VirtualThisAdjust' was not declared in this scope
 1734 |   } else if (FC & FC_VirtualThisAdjust) {
      |                   ^~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1736:14: error: 'FC_VirtualThisAdjustEx' was not declared in this scope
 1736 |     if (FC & FC_VirtualThisAdjustEx) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1741:21: error: 'struct llvm::ms_demangle::ThunkSignatureNode::ThisAdjustor' has no member named 'StaticOffset'
 1741 |     TTN->ThisAdjust.StaticOffset = demangleSigned(MangledName);
      |                     ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1744:12: error: 'FC_NoParameterList' was not declared in this scope
 1744 |   if (FC & FC_NoParameterList) {
      |            ^~~~~~~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1750:33: error: 'FC_Global' was not declared in this scope
 1750 |     bool HasThisQuals = !(FC & (FC_Global | FC_Static));
      |                                 ^~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1750:45: error: 'FC_Static' was not declared in this scope
 1750 |     bool HasThisQuals = !(FC & (FC_Global | FC_Static));
      |                                             ^~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1757:8: error: 'struct llvm::ms_demangle::FunctionSignatureNode' has no member named 'FunctionClass'
 1757 |   FSN->FunctionClass = FC;
      |        ^~~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::PointerTypeNode* llvm::ms_demangle::Demangler::demanglePointerType(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1868:21: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1868 |   std::tie(Pointer->Quals, Pointer->Affinity) =
      |                     ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1876:3: error: 'Qualifiers' was not declared in this scope
 1876 |   Qualifiers ExtQuals = demanglePointerExtQualifiers(MangledName);
      |   ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1877:12: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1877 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |            ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1877:40: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1877 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |                                        ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1877:48: error: 'ExtQuals' was not declared in this scope
 1877 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |                                                ^~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::PointerTypeNode* llvm::ms_demangle::Demangler::demangleMemberPointerType(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1886:21: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1886 |   std::tie(Pointer->Quals, Pointer->Affinity) =
      |                     ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1890:3: error: 'Qualifiers' was not declared in this scope
 1890 |   Qualifiers ExtQuals = demanglePointerExtQualifiers(MangledName);
      |   ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1891:12: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1891 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |            ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1891:40: error: 'struct llvm::ms_demangle::PointerTypeNode' has no member named 'Quals'
 1891 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |                                        ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1891:48: error: 'ExtQuals' was not declared in this scope
 1891 |   Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals);
      |                                                ^~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1897:15: error: expected ';' before 'PointeeQuals'
 1897 |     Qualifiers PointeeQuals = Q_None;
      |               ^~~~~~~~~~~~~
      |               ;
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1899:14: error: 'PointeeQuals' was not declared in this scope
 1899 |     std::tie(PointeeQuals, IsMember) = demangleQualifiers(MangledName);
      |              ^~~~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1904:23: error: 'struct llvm::ms_demangle::TypeNode' has no member named 'Quals'
 1904 |     Pointer->Pointee->Quals = PointeeQuals;
      |                       ^~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: At global scope:
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1910:1: error: 'Qualifiers' does not name a type
 1910 | Qualifiers Demangler::demanglePointerExtQualifiers(StringView &MangledName) {
      | ^~~~~~~~~~
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp: In member function 'llvm::ms_demangle::ArrayTypeNode* llvm::ms_demangle::Demangler::demangleArrayType(StringView&)':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1955:19: error: 'struct llvm::ms_demangle::ArrayTypeNode' has no member named 'Quals'
 1955 |     std::tie(ATy->Quals, IsMember) = demangleQualifiers(MangledName);
      |                   ^~~~~
In file included from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h: In instantiation of 'T* llvm::ms_demangle::ArenaAllocator::alloc(Args&& ...) [with T = llvm::ms_demangle::IntegerLiteralNode; Args = {long unsigned int&, bool&}]':
/build/llvm/lib/Demangle/MicrosoftDemangle.cpp:1945:60:   required from here
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:108:14: error: no matching function for call to 'llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(long unsigned int&, bool&)'
  108 |       return new (PP) T(std::forward<Args>(ConstructorArgs)...);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:14,
                 from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:529:3: note: candidate: 'llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode()'
  529 |   IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {}
      |   ^~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:529:3: note:   candidate expects 0 arguments, 2 provided
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note: candidate: 'constexpr llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(const llvm::ms_demangle::IntegerLiteralNode&)'
  528 | struct IntegerLiteralNode : public Node {
      |        ^~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note:   candidate expects 1 argument, 2 provided
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note: candidate: 'constexpr llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(llvm::ms_demangle::IntegerLiteralNode&&)'
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note:   candidate expects 1 argument, 2 provided
In file included from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:112:12: error: no matching function for call to 'llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(long unsigned int&, bool&)'
  112 |     return new (Head->Buf) T(std::forward<Args>(ConstructorArgs)...);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/llvm/include/llvm/Demangle/MicrosoftDemangle.h:14,
                 from /build/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:529:3: note: candidate: 'llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode()'
  529 |   IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {}
      |   ^~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:529:3: note:   candidate expects 0 arguments, 2 provided
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note: candidate: 'constexpr llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(const llvm::ms_demangle::IntegerLiteralNode&)'
  528 | struct IntegerLiteralNode : public Node {
      |        ^~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note:   candidate expects 1 argument, 2 provided
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note: candidate: 'constexpr llvm::ms_demangle::IntegerLiteralNode::IntegerLiteralNode(llvm::ms_demangle::IntegerLiteralNode&&)'
/build/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:528:8: note:   candidate expects 1 argument, 2 provided
make[2]: *** [lib/Demangle/CMakeFiles/LLVMDemangle.dir/build.make:95: lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  0%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
[  0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/ArgList.cpp.o
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMTargetParser.cpp.o
[  0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/JSONBackend.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp: In static member function 'static llvm::Expected<std::shared_ptr<{anonymous}::YAMLStringTableSubsection> > {anonymous}::YAMLStringTableSubsection::fromCodeViewSubsection(const llvm::codeview::DebugStringTableSubsectionRef&)':
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:698:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  698 |     return std::move(EC);
      |            ~~~~~~~~~^~~~
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:698:21: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:702:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  702 |       return std::move(EC);
      |              ~~~~~~~~~^~~~
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:702:23: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp: In function 'llvm::Expected<std::vector<std::shared_ptr<llvm::codeview::DebugSubsection> > > llvm::CodeViewYAML::toCodeViewSubsectionList(llvm::BumpPtrAllocator&, llvm::ArrayRef<llvm::CodeViewYAML::YAMLDebugSubsection>, const llvm::codeview::StringsAndChecksums&)':
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:753:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  753 |     return std::move(Result);
      |            ~~~~~~~~~^~~~~~~~
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:753:21: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:761:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  761 |   return std::move(Result);
      |          ~~~~~~~~~^~~~~~~~
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:761:19: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp: In static member function 'static llvm::Expected<llvm::CodeViewYAML::YAMLDebugSubsection> llvm::CodeViewYAML::YAMLDebugSubsection::fromCodeViewSubection(const llvm::codeview::StringsAndChecksumsRef&, const llvm::codeview::DebugSubsectionRecord&)':
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:896:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  896 |     return std::move(EC);
      |            ~~~~~~~~~^~~~
/build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:896:21: note: remove 'std::move' call
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Dwarf.cpp.o
[  0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HWEventListener.cpp.o
[  0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCDisassembler.cpp.o
In file included from /build/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h:18,
                 from /build/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h:14,
                 from /build/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp:32:
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected<llvm::codeview::CVRecord<Kind> > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]':
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:110:62:   required from 'llvm::Error llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<Kind> >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord<Kind>&) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]'
/build/llvm/include/llvm/Support/BinaryStreamArray.h:165:24:   required from 'llvm::VarStreamArrayIterator<ValueType, Extractor>::VarStreamArrayIterator(const ArrayType&, const Extractor&, uint32_t, bool*) [with ValueType = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>; Extractor = llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::SymbolKind> >; llvm::VarStreamArrayIterator<ValueType, Extractor>::ArrayType = llvm::VarStreamArray<llvm::codeview::CVRecord<llvm::codeview::SymbolKind> >; uint32_t = unsigned int]'
/build/llvm/include/llvm/Support/BinaryStreamArray.h:106:12:   required from 'llvm::VarStreamArray<ValueType, Extractor>::Iterator llvm::VarStreamArray<ValueType, Extractor>::begin(bool*) const [with ValueType = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>; Extractor = llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::SymbolKind> >; llvm::VarStreamArray<ValueType, Extractor>::Iterator = llvm::VarStreamArrayIterator<llvm::codeview::CVRecord<llvm::codeview::SymbolKind>, llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::SymbolKind> > >]'
/build/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h:30:64:   required from here
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:92:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   92 |     return std::move(EC);
      |                        ^
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:92:24: note: remove 'std::move' call
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:100:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  100 |     return std::move(EC);
      |                        ^
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:100:24: note: remove 'std::move' call
[  0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ELFObjectWriter.cpp.o
/build/llvm/lib/TableGen/JSONBackend.cpp: In member function 'llvm::json::Value {anonymous}::JSONEmitter::translateInit(const llvm::Init&)':
/build/llvm/lib/TableGen/JSONBackend.cpp:58:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   58 |     return std::move(array);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:58:21: note: remove 'std::move' call
/build/llvm/lib/TableGen/JSONBackend.cpp:69:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   69 |     return std::move(array);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:69:21: note: remove 'std::move' call
/build/llvm/lib/TableGen/JSONBackend.cpp:83:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   83 |     return std::move(obj);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:83:21: note: remove 'std::move' call
[  0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Option.cpp.o
/build/llvm/lib/TableGen/JSONBackend.cpp:87:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   87 |     return std::move(obj);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:87:21: note: remove 'std::move' call
/build/llvm/lib/TableGen/JSONBackend.cpp:93:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   93 |       return std::move(obj);
      |              ~~~~~~~~~^~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:93:23: note: remove 'std::move' call
/build/llvm/lib/TableGen/JSONBackend.cpp:111:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  111 |     return std::move(obj);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:111:21: note: remove 'std::move' call
/build/llvm/lib/TableGen/JSONBackend.cpp:120:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  120 |   return std::move(obj);
      |          ~~~~~~~~~^~~~~
/build/llvm/lib/TableGen/JSONBackend.cpp:120:19: note: remove 'std::move' call
[  0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/HardwareUnit.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/LSUnit.cpp.o
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AMDGPUMetadata.cpp.o
[  0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/OptTable.cpp.o
make[1]: *** [CMakeFiles/Makefile2:8723: lib/Demangle/CMakeFiles/LLVMDemangle.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/RegisterFile.cpp.o
[  0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCRelocationInfo.cpp.o
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Magic.cpp.o
[  0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
[  0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCSymbolizer.cpp.o
[  0%] Linking CXX static library ../../libLLVMMCDisassembler.a
[  0%] Built target LLVMMCDisassembler
[  0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Record.cpp.o
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
[  0%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/ResourceManager.cpp.o
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackReader.cpp.o
[  0%] Linking CXX static library ../libLLVMOption.a
[  0%] Built target LLVMOption
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackTypes.cpp.o
In file included from /build/llvm/lib/TableGen/Record.cpp:14:
/build/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of 'llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Init*]':
/build/llvm/lib/TableGen/Record.cpp:1362:57:   required from here
/build/llvm/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing 'llvm::ArrayRef<llvm::Init*>::Data' from 'std::initializer_list<llvm::Init*>::begin' does not extend the lifetime of the underlying array [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Winit-list-lifetime-Winit-list-lifetime8;;]
  102 |     : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp: In static member function 'static llvm::Expected<llvm::Optional<std::shared_ptr<llvm::msgpack::Node> > > llvm::msgpack::Node::readArray(llvm::msgpack::Reader&, size_t)':
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:34:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   34 |       return std::move(Err);
      |              ~~~~~~~~~^~~~~
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:34:23: note: remove 'std::move' call
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp: In static member function 'static llvm::Expected<llvm::Optional<std::shared_ptr<llvm::msgpack::Node> > > llvm::msgpack::Node::readMap(llvm::msgpack::Reader&, size_t)':
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:49:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   49 |       return std::move(Err);
      |              ~~~~~~~~~^~~~~
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:49:23: note: remove 'std::move' call
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:56:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   56 |       return std::move(Err);
      |              ~~~~~~~~~^~~~~
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:56:23: note: remove 'std::move' call
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp: In static member function 'static llvm::Expected<llvm::Optional<std::shared_ptr<llvm::msgpack::Node> > > llvm::msgpack::Node::read(llvm::msgpack::Reader&)':
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:80:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   80 |     return std::move(Err);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/BinaryFormat/MsgPackTypes.cpp:80:21: note: remove 'std::move' call
[  0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackWriter.cpp.o
[  0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmBackend.cpp.o
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
[  1%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/RetireControlUnit.cpp.o
[  1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o
[  1%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/CodeViewYAMLSymbols.cpp.o
[  1%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Wasm.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
[  2%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/HardwareUnits/Scheduler.cpp.o
[  2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
[  2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
[  2%] Linking CXX static library ../libLLVMBinaryFormat.a
[  2%] Built target LLVMBinaryFormat
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoCOFF.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::CallerSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:187:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  583 |     return std::move(EC);
      |                        ^
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ScopeEndSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:190:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::Thunk32Sym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:194:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::TrampolineSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:195:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::SectionSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:196:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::CoffGroupSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:197:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ExportSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:198:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ProcSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:200:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::RegisterSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:207:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::PublicSym32>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:208:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ProcRefSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:210:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::EnvBlockSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:214:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::InlineSiteSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:216:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::LocalSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:217:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:218:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeSubfieldSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:219:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeRegisterSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:220:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamError.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeFramePointerRelSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:221:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeSubfieldRegisterSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:222:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamReader.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeFramePointerRelFullScopeSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:223:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DefRangeRegisterRelSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:224:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::BlockSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:225:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoDarwin.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::LabelSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:226:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ObjNameSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:227:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::Compile2Sym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:228:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::Compile3Sym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:229:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::FrameProcSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:230:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::CallSiteInfoSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:231:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::FileStaticSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:232:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::HeapAllocationSiteSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:233:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::FrameCookieSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:234:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::UDTSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:239:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::BuildInfoSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:242:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::BPRelativeSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:243:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::RegRelativeSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:244:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ConstantSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:246:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::DataSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:249:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::ThreadLocalDataSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:254:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::SymbolRecordImpl<llvm::codeview::UsingNamespaceSym>; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def:257:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::SymbolRecord> fromCodeViewSymbolImpl(llvm::codeview::CVSymbol) [with SymbolType = llvm::CodeViewYAML::detail::UnknownSymbolRecord; llvm::codeview::CVSymbol = llvm::codeview::CVRecord<llvm::codeview::SymbolKind>]':
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:598:62:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp:583:24: note: remove 'std::move' call
[  2%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/InstrBuilder.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoELF.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoWasm.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamRef.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamWriter.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmMacro.cpp.o
/build/llvm/lib/MCA/InstrBuilder.cpp: In member function 'llvm::Expected<const llvm::mca::InstrDesc&> llvm::mca::InstrBuilder::createInstrDescImpl(const llvm::MCInst&)':
/build/llvm/lib/MCA/InstrBuilder.cpp:562:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  562 |     return std::move(Err);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/MCA/InstrBuilder.cpp:562:21: note: remove 'std::move' call
/build/llvm/lib/MCA/InstrBuilder.cpp:572:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  572 |     return std::move(Err);
      |            ~~~~~~~~~^~~~~
/build/llvm/lib/MCA/InstrBuilder.cpp:572:21: note: remove 'std::move' call
/build/llvm/lib/MCA/InstrBuilder.cpp: In member function 'llvm::Expected<std::unique_ptr<llvm::mca::Instruction> > llvm::mca::InstrBuilder::createInstruction(const llvm::MCInst&)':
/build/llvm/lib/MCA/InstrBuilder.cpp:666:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  666 |     return std::move(NewIS);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/lib/MCA/InstrBuilder.cpp:666:21: note: remove 'std::move' call
/build/llvm/lib/MCA/InstrBuilder.cpp:695:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  695 |   return std::move(NewIS);
      |          ~~~~~~~~~^~~~~~~
/build/llvm/lib/MCA/InstrBuilder.cpp:695:19: note: remove 'std::move' call
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
[  2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmStreamer.cpp.o
[  2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAssembler.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeEmitter.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodePadder.cpp.o
[  2%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BuryPointer.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CachePruning.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Chrono.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o
[  2%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
[  2%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Instruction.cpp.o
[  2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o
[  2%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Pipeline.cpp.o
[  2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeView.cpp.o
[  3%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.cpp.o
/build/llvm/lib/MCA/Pipeline.cpp: In member function 'llvm::Expected<unsigned int> llvm::mca::Pipeline::run()':
/build/llvm/lib/MCA/Pipeline.cpp:44:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   44 |       return std::move(Err);
      |              ~~~~~~~~~^~~~~
/build/llvm/lib/MCA/Pipeline.cpp:44:23: note: remove 'std::move' call
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
[  3%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
[  3%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
[  3%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/DispatchStage.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o
[  3%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCDwarf.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DebugCounter.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/EntryStage.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/ExecuteStage.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DJB.cpp.o
[  3%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/CodeViewYAMLTypeHashing.cpp.o
[  3%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Error.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/InstructionTables.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
[  3%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileCheck.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/RetireStage.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
[  3%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Stages/Stage.cpp.o
In file included from /build/llvm/include/llvm/Support/MemoryBuffer.h:18,
                 from /build/llvm/include/llvm/Support/FileCheck.h:18,
                 from /build/llvm/lib/Support/FileCheck.cpp:17:
/build/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of 'llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::SMRange]':
/build/llvm/lib/Support/FileCheck.cpp:407:37:   required from here
/build/llvm/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing 'llvm::ArrayRef<llvm::SMRange>::Data' from 'std::initializer_list<llvm::SMRange>::begin' does not extend the lifetime of the underlying array [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Winit-list-lifetime-Winit-list-lifetime8;;]
  102 |     : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
[  3%] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/Support.cpp.o
[  3%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
[  3%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/CodeViewYAMLTypes.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
[  3%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFObjectTargetWriter.cpp.o
[  3%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFStreamer.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormatVariadic.cpp.o
[  3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GlobPattern.cpp.o
[  3%] Linking CXX static library ../libLLVMMCA.a
[  3%] Built target LLVMMCA
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/InitLLVM.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCExpr.cpp.o
[  5%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmLexer.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::PointerRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:39:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  675 |     return std::move(EC);
      |                        ^
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::ModifierRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:40:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::ProcedureRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:41:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::MemberFunctionRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:42:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::LabelRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:43:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::ArgListRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:44:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::FieldListRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:46:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::ArrayRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:48:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::ClassRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:49:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::UnionRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:52:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::EnumRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:53:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::TypeServer2Record; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:54:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::VFTableRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:55:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::VFTableShapeRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:56:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::BitFieldRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:58:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::FuncIdRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:79:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::MemberFuncIdRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:80:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::BuildInfoRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:81:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::StringListRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:82:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::StringIdRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:83:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::UdtSourceLineRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:84:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::UdtModSourceLineRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:85:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::MethodOverloadListRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:88:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::PrecompRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:90:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp: In instantiation of 'llvm::Expected<llvm::CodeViewYAML::LeafRecord> fromCodeViewRecordImpl(llvm::codeview::CVType) [with T = llvm::codeview::EndPrecompRecord; llvm::codeview::CVType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>]':
/build/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def:91:1:   required from here
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:675:24: note: remove 'std::move' call
[  5%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ItaniumManglingCanonicalizer.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JSON.cpp.o
In file included from /build/llvm/include/llvm/ADT/IntervalMap.h:103,
                 from /build/llvm/lib/Support/IntervalMap.cpp:14:
/build/llvm/include/llvm/ADT/SmallVector.h: In member function 'void llvm::IntervalMapImpl::Path::replaceRoot(void*, unsigned int, llvm::IntervalMapImpl::IdxPair)':
/build/llvm/include/llvm/ADT/SmallVector.h:502:7: warning: array subscript 1 is outside array bounds of 'llvm::IntervalMapImpl::Path::Entry [1]' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  502 |       ++EltPtr;
      |       ^~
/build/llvm/lib/Support/IntervalMap.cpp:22:65: note: while referencing '<anonymous>'
   22 |   path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second));
      |                                                                 ^
[  5%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParser.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownBits.cpp.o
In file included from /build/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h:19,
                 from /build/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h:19,
                 from /build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:15:
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected<llvm::codeview::CVRecord<Kind> > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]':
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:110:62:   required from 'llvm::Error llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<Kind> >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord<Kind>&) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]'
/build/llvm/include/llvm/Support/BinaryStreamArray.h:165:24:   required from 'llvm::VarStreamArrayIterator<ValueType, Extractor>::VarStreamArrayIterator(const ArrayType&, const Extractor&, uint32_t, bool*) [with ValueType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>; Extractor = llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind> >; llvm::VarStreamArrayIterator<ValueType, Extractor>::ArrayType = llvm::VarStreamArray<llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind> >; uint32_t = unsigned int]'
/build/llvm/include/llvm/Support/BinaryStreamArray.h:106:12:   required from 'llvm::VarStreamArray<ValueType, Extractor>::Iterator llvm::VarStreamArray<ValueType, Extractor>::begin(bool*) const [with ValueType = llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>; Extractor = llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind> >; llvm::VarStreamArray<ValueType, Extractor>::Iterator = llvm::VarStreamArrayIterator<llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, llvm::VarStreamArrayExtractor<llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind> > >]'
/build/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp:790:24:   required from here
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:92:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
   92 |     return std::move(EC);
      |                        ^
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:92:24: note: remove 'std::move' call
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:100:24: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  100 |     return std::move(EC);
      |                        ^
/build/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:100:24: note: remove 'std::move' call
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LEB128.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
/build/llvm/lib/Support/JSON.cpp: In function 'llvm::Expected<llvm::json::Value> llvm::json::parse(llvm::StringRef)':
/build/llvm/lib/Support/JSON.cpp:517:25: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  517 |         return std::move(E);
      |                ~~~~~~~~~^~~
/build/llvm/lib/Support/JSON.cpp:517:25: note: remove 'std::move' call
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LowLevelType.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCFragment.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
[  5%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInst.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/NativeFormatting.cpp.o
[  5%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o
[  5%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/WasmAsmParser.cpp.o
/build/llvm/lib/Support/MemoryBuffer.cpp: In function 'llvm::ErrorOr<std::unique_ptr<llvm::WritableMemoryBuffer> > getMemBufferCopyImpl(llvm::StringRef, const llvm::Twine&)':
/build/llvm/lib/Support/MemoryBuffer.cpp:132:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  132 |   return std::move(Buf);
      |          ~~~~~~~~~^~~~~
/build/llvm/lib/Support/MemoryBuffer.cpp:132:19: note: remove 'std::move' call
/build/llvm/lib/Support/MemoryBuffer.cpp: In function 'llvm::ErrorOr<std::unique_ptr<llvm::WriteThroughMemoryBuffer> > getReadWriteFile(const llvm::Twine&, uint64_t, uint64_t, uint64_t)':
/build/llvm/lib/Support/MemoryBuffer.cpp:401:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  401 |   return std::move(Result);
      |          ~~~~~~~~~^~~~~~~~
/build/llvm/lib/Support/MemoryBuffer.cpp:401:19: note: remove 'std::move' call
/build/llvm/lib/Support/MemoryBuffer.cpp: In instantiation of 'llvm::ErrorOr<std::unique_ptr<T> > getOpenFileImpl(int, const llvm::Twine&, uint64_t, uint64_t, int64_t, bool, bool) [with MB = llvm::MemoryBuffer; uint64_t = long unsigned int; int64_t = long int]':
/build/llvm/lib/Support/MemoryBuffer.cpp:497:60:   required from here
/build/llvm/lib/Support/MemoryBuffer.cpp:453:30: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  453 |       return std::move(Result);
      |                              ^
/build/llvm/lib/Support/MemoryBuffer.cpp:453:30: note: remove 'std::move' call
/build/llvm/lib/Support/MemoryBuffer.cpp:490:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  490 |   return std::move(Buf);
      |                       ^
/build/llvm/lib/Support/MemoryBuffer.cpp:490:23: note: remove 'std::move' call
/build/llvm/lib/Support/MemoryBuffer.cpp: In instantiation of 'llvm::ErrorOr<std::unique_ptr<T> > getOpenFileImpl(int, const llvm::Twine&, uint64_t, uint64_t, int64_t, bool, bool) [with MB = llvm::WritableMemoryBuffer; uint64_t = long unsigned int; int64_t = long int]':
/build/llvm/lib/Support/MemoryBuffer.cpp:252:33:   required from 'llvm::ErrorOr<std::unique_ptr<T> > getFileAux(const llvm::Twine&, int64_t, uint64_t, uint64_t, bool, bool) [with MB = llvm::WritableMemoryBuffer; int64_t = long int; uint64_t = long unsigned int]'
/build/llvm/lib/Support/MemoryBuffer.cpp:263:53:   required from here
/build/llvm/lib/Support/MemoryBuffer.cpp:453:30: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  453 |       return std::move(Result);
      |                              ^
/build/llvm/lib/Support/MemoryBuffer.cpp:453:30: note: remove 'std::move' call
/build/llvm/lib/Support/MemoryBuffer.cpp:490:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  490 |   return std::move(Buf);
      |                       ^
/build/llvm/lib/Support/MemoryBuffer.cpp:490:23: note: remove 'std::move' call
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Options.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Parallel.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
[  5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o
[  5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLabel.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o
[  6%] Linking CXX static library ../../libLLVMMCParser.a
[  6%] Built target LLVMMCParser
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScopedPrinter.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
[  6%] Linking CXX static library ../libLLVMTableGen.a
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
[  6%] Built target LLVMTableGen
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
[  6%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/COFFYAML.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringPool.cpp.o
[  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o
[  6%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/DWARFEmitter.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCRegisterInfo.cpp.o
[  6%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSchedule.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSection.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SymbolRemappingReader.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionCOFF.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TarWriter.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionELF.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
/build/llvm/lib/ObjectYAML/DWARFEmitter.cpp: In function 'llvm::Expected<llvm::StringMap<std::unique_ptr<llvm::MemoryBuffer> > > llvm::DWARFYAML::EmitDebugSections(llvm::StringRef, bool, bool)':
/build/llvm/lib/ObjectYAML/DWARFEmitter.cpp:378:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  378 |   return std::move(DebugSections);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/build/llvm/lib/ObjectYAML/DWARFEmitter.cpp:378:19: note: remove 'std::move' call
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionMachO.cpp.o
In file included from /build/llvm/include/llvm/MC/MCSection.h:17,
                 from /build/llvm/lib/MC/MCSection.cpp:10:
/build/llvm/include/llvm/ADT/SmallVector.h: In member function 'llvm::MCSection::iterator llvm::MCSection::getSubsectionInsertionPoint(unsigned int)':
/build/llvm/include/llvm/ADT/SmallVector.h:502:7: warning: array subscript 4 is outside array bounds of 'std::pair<unsigned int, llvm::MCFragment*> [1]' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  502 |       ++EltPtr;
      |       ^~
/build/llvm/lib/MC/MCSection.cpp:82:66: note: while referencing '<anonymous>'
   82 |     SubsectionFragmentMap.insert(MI, std::make_pair(Subsection, F));
      |                                                                  ^
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionWasm.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/DWARFVisitor.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TrigramIndex.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/DWARFYAML.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbol.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/ELFYAML.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeCaseFold.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VersionTuple.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/WithColor.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenSchedule.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCValue.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmObjectTargetWriter.cpp.o
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmStreamer.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWin64EH.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
/build/llvm/lib/Support/YAMLTraits.cpp: In member function 'std::unique_ptr<llvm::yaml::Input::HNode> llvm::yaml::Input::createHNodes(llvm::yaml::Node*)':
/build/llvm/lib/Support/YAMLTraits.cpp:388:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  388 |     return std::move(SQHNode);
      |            ~~~~~~~~~^~~~~~~~~
/build/llvm/lib/Support/YAMLTraits.cpp:388:21: note: remove 'std::move' call
/build/llvm/lib/Support/YAMLTraits.cpp:413:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
  413 |     return std::move(mapHNode);
      |            ~~~~~~~~~^~~~~~~~~~
/build/llvm/lib/Support/YAMLTraits.cpp:413:21: note: remove 'std::move' call
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
In file included from /build/llvm/include/llvm/ADT/DenseMapInfo.h:17,
                 from /build/llvm/include/llvm/ADT/DenseMap.h:17,
                 from /build/llvm/utils/TableGen/CodeGenSchedule.h:19,
                 from /build/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/build/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of 'llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned int]':
/build/llvm/utils/TableGen/CodeGenSchedule.cpp:885:78:   required from here
/build/llvm/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing 'llvm::ArrayRef<unsigned int>::Data' from 'std::initializer_list<unsigned int>::begin' does not extend the lifetime of the underlying array [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Winit-list-lifetime-Winit-list-lifetime8;;]
  102 |     : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MachOYAML.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/ObjectYAML.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[  7%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o
[  7%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o
[  7%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o
[  7%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o
In file included from /build/llvm/utils/TableGen/CodeGenRegisters.h:26,
                 from /build/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/build/llvm/include/llvm/ADT/SparseBitVector.h: In member function 'unsigned int llvm::CodeGenRegister::getWeight(const llvm::CodeGenRegBank&) const':
/build/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of 'const BitWord [2]' {aka 'const long unsigned int [2]'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  130 |       if (Bits[i] != 0)
      |           ~~~~^
/build/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing 'llvm::SparseBitVectorElement<128>::Bits'
   55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
      |           ^~~~
[  7%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/xxhash.cpp.o
/build/llvm/include/llvm/ADT/SparseBitVector.h: In function 'bool normalizeWeight(llvm::CodeGenRegister*, std::vector<{anonymous}::UberRegSet>&, std::vector<{anonymous}::UberRegSet*>&, llvm::BitVector&, llvm::CodeGenRegister::RegUnitList&, llvm::CodeGenRegBank&)':
/build/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of 'const BitWord [2]' {aka 'const long unsigned int [2]'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  130 |       if (Bits[i] != 0)
      |           ~~~~^
/build/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing 'llvm::SparseBitVectorElement<128>::Bits'
   55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
      |           ^~~~
[  7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o
/build/llvm/include/llvm/ADT/SparseBitVector.h: In member function 'void llvm::CodeGenRegisterClass::buildRegUnitSet(const llvm::CodeGenRegBank&, std::vector<unsigned int>&) const':
/build/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of 'const BitWord [2]' {aka 'const long unsigned int [2]'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  130 |       if (Bits[i] != 0)
      |           ~~~~^
/build/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing 'llvm::SparseBitVectorElement<128>::Bits'
   55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
      |           ^~~~
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MachObjectWriter.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mutex.cpp.o
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/WasmYAML.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o
/build/llvm/lib/Support/Path.cpp: In static member function 'static llvm::Expected<llvm::sys::fs::TempFile> llvm::sys::fs::TempFile::create(const llvm::Twine&, unsigned int)':
/build/llvm/lib/Support/Path.cpp:1238:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 1238 |   return std::move(Ret);
      |          ~~~~~~~~~^~~~~
/build/llvm/lib/Support/Path.cpp:1238:19: note: remove 'std::move' call
[  7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/SubtargetFeature.cpp.o
[  7%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/YAML.cpp.o
[  7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o
In file included from /build/llvm/lib/Support/Path.cpp:1110:
/build/llvm/lib/Support/Unix/Path.inc: In function 'std::string llvm::sys::fs::getMainExecutable(const char*, void*)':
/build/llvm/lib/Support/Unix/Path.inc:111:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-truncation=-Wformat-truncation=8;;]
  111 |   snprintf(fullpath, PATH_MAX, "%s/%s", dir, bin);
      |                                      ^
In file included from /nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/stdio.h:866,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/cstdio:42,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/ext/string_conversions.h:43,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/bits/basic_string.h:6535,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/string:55,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/bits/locale_classes.h:40,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/bits/ios_base.h:41,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/streambuf:41,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/bits/streambuf_iterator.h:35,
                 from /nix/store/kg2s3k77ifsyd59ac08mjmmjjmsvgsvg-gcc-10.2.0/include/c++/10.2.0/iterator:66,
                 from /build/llvm/include/llvm/ADT/iterator_range.h:22,
                 from /build/llvm/include/llvm/ADT/SmallVector.h:17,
                 from /build/llvm/include/llvm/ADT/Twine.h:13,
                 from /build/llvm/include/llvm/Support/Path.h:19,
                 from /build/llvm/lib/Support/Path.cpp:14:
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096
   70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  8%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WasmObjectWriter.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o
[  8%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherGen.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o
[  8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcher.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DisassemblerEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/ExegesisEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FastISelEmitter.cpp.o
[  8%] Linking CXX static library ../libLLVMSupport.a
[  8%] Built target LLVMSupport
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FixedLenDecoderEmitter.cpp.o
[  8%] Linking CXX static library ../libLLVMObjectYAML.a
[  8%] Built target LLVMObjectYAML
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/GlobalISelEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InfoByHwMode.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InstrInfoEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InstrDocsEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/IntrinsicEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/OptParserEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/PredicateExpander.cpp.o
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<{anonymous}::InstructionMatcher&> {anonymous}::GlobalISelEmitter::createAndImportSelDAGMatcher({anonymous}::RuleMatcher&, {anonymous}::InstructionMatcher&, const llvm::TreePatternNode*, unsigned int&)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3361:25: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3361 |         return std::move(Error);
      |                ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3361:25: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<std::_List_iterator<std::unique_ptr<{anonymous}::MatchAction> > > {anonymous}::GlobalISelEmitter::importExplicitUseRenderer({anonymous}::action_iterator, {anonymous}::RuleMatcher&, {anonymous}::BuildMIAction&, llvm::TreePatternNode*)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3564:25: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3564 |         return std::move(Error);
      |                ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3564:25: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<{anonymous}::BuildMIAction&> {anonymous}::GlobalISelEmitter::createAndImportInstructionRenderer({anonymous}::RuleMatcher&, const llvm::TreePatternNode*)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3636:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3636 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3636:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3645:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3645 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3645:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<std::_List_iterator<std::unique_ptr<{anonymous}::MatchAction> > > {anonymous}::GlobalISelEmitter::createAndImportSubInstructionRenderer({anonymous}::action_iterator, {anonymous}::RuleMatcher&, const llvm::TreePatternNode*, unsigned int)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3659:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3659 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3659:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3670:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3670 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3670:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<std::_List_iterator<std::unique_ptr<{anonymous}::MatchAction> > > {anonymous}::GlobalISelEmitter::importExplicitUseRenderers({anonymous}::action_iterator, {anonymous}::RuleMatcher&, {anonymous}::BuildMIAction&, const llvm::TreePatternNode*)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3769:25: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3769 |         return std::move(Error);
      |                ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3769:25: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3777:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3777 |       return std::move(Error);
      |              ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3777:23: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp: In member function 'llvm::Expected<{anonymous}::RuleMatcher> {anonymous}::GlobalISelEmitter::runOnPattern(const llvm::PatternToMatch&)':
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3838:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3838 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3838:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3878:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3878 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3878:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3906:23: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3906 |       return std::move(M);
      |              ~~~~~~~~~^~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3906:23: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3964:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3964 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3964:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3970:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3970 |     return std::move(Error);
      |            ~~~~~~~~~^~~~~~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3970:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3991:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 3991 |     return std::move(M);
      |            ~~~~~~~~~^~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:3991:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:4034:21: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 4034 |     return std::move(M);
      |            ~~~~~~~~~^~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:4034:21: note: remove 'std::move' call
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:4041:19: warning: redundant move in return statement [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wredundant-move-Wredundant-move8;;]
 4041 |   return std::move(M);
      |          ~~~~~~~~~^~~
/build/llvm/utils/TableGen/GlobalISelEmitter.cpp:4041:19: note: remove 'std::move' call
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RISCVCompressInstEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterBankEmitter.cpp.o
[  8%] Linking CXX static library ../libLLVMMC.a
[  8%] Built target LLVMMC
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SDNodeProperties.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SearchableTableEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Types.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o
[  8%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o
[ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o
[ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o
[ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o
[ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
[ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o
In file included from /build/llvm/utils/TableGen/CodeGenRegisters.h:26,
                 from /build/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/build/llvm/include/llvm/ADT/SparseBitVector.h: In member function 'void llvm::SparseBitVector<ElementSize>::SparseBitVectorIterator::AdvanceToFirstNonZero() [with unsigned int ElementSize = 128]':
/build/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of 'const BitWord [2]' {aka 'const long unsigned int [2]'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds8;;]
  130 |       if (Bits[i] != 0)
      |           ~~~~^
/build/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing 'llvm::SparseBitVectorElement<128>::Bits'
   55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
      |           ^~~~
[ 10%] Built target obj.llvm-tblgen
make: *** [Makefile:171: all] Error 2
builder for '/nix/store/67yi96rvn51n20v9nf6vmy2i2birv8kg-llvm-8.0.1.drv' failed with exit code 2
cannot build derivation '/nix/store/srx4kx5pqg9vac5dgcpnpkcqw5v49nsd-ccls-0.20201025.drv': 1 dependencies couldn't be built
error: build of '/nix/store/srx4kx5pqg9vac5dgcpnpkcqw5v49nsd-ccls-0.20201025.drv' failed
