Skip to content

Instantly share code, notes, and snippets.

@pftbest
Created May 13, 2018 11:37
Show Gist options
  • Save pftbest/32a4f01e1e6ec9f47820469802177046 to your computer and use it in GitHub Desktop.
Save pftbest/32a4f01e1e6ec9f47820469802177046 to your computer and use it in GitHub Desktop.
[user@ws-073 llvm-build]$
[user@ws-073 llvm-build]$ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_EXPENSIVE_CHECKS=ON -DLLVM_USE_SANITIZER=Address -DLLVM_TARGETS_TO_BUILD="MSP430;X86" ../llvm
CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
The OLD behavior for policy CMP0051 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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 - 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 - 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 - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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 tinfo
-- Looking for setupterm in tinfo - found
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.8")
-- 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: /usr/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 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
-- 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
-- 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 enabled.
-- 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_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 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_OMIT_FRAME_POINTER
-- Performing Test C_SUPPORTS_FNO_OMIT_FRAME_POINTER - Success
-- Performing Test CXX_SUPPORTS_FNO_OMIT_FRAME_POINTER
-- Performing Test CXX_SUPPORTS_FNO_OMIT_FRAME_POINTER - Success
-- Performing Test C_SUPPORTS_GLINE_TABLES_ONLY
-- Performing Test C_SUPPORTS_GLINE_TABLES_ONLY - Failed
-- Performing Test CXX_SUPPORTS_GLINE_TABLES_ONLY
-- Performing Test CXX_SUPPORTS_GLINE_TABLES_ONLY - Failed
-- Performing Test C_SUPPORTS_FSANITIZE_USE_AFTER_SCOPE_FLAG
-- Performing Test C_SUPPORTS_FSANITIZE_USE_AFTER_SCOPE_FLAG - Success
-- Performing Test CXX_SUPPORTS_FSANITIZE_USE_AFTER_SCOPE_FLAG
-- Performing Test CXX_SUPPORTS_FSANITIZE_USE_AFTER_SCOPE_FLAG - Success
-- 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: /usr/bin/python2.7 (found version "2.7.15")
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- Targeting MSP430
-- Targeting X86
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Public/llvm-build
[user@ws-073 llvm-build]$ make -j5 llc
Scanning dependencies of target LLVMDemangle
Scanning dependencies of target LLVMTableGen
Scanning dependencies of target obj.llvm-tblgen
Scanning dependencies of target LLVMSupport
[ 0%] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
Scanning dependencies of target LLVMBinaryFormat
[ 0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
[ 0%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Dwarf.cpp.o
[ 2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
[ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AMDGPUMetadata.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/lib/Support/AMDGPUMetadata.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/YAMLParser.h:138:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/lib/Support/AMDGPUMetadata.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/Main.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmMatcherEmitter.cpp:99:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Record.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Init*, llvm::StringInit*>]’:
/home/user/Public/llvm/lib/TableGen/Record.cpp:1048:54: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Init*, llvm::StringInit*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Init*, llvm::StringInit*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/lib/TableGen/Record.cpp:184:54: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/Record.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
[ 4%] Linking CXX static library ../libLLVMDemangle.a
[ 4%] Built target LLVMDemangle
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
[ 4%] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Magic.cpp.o
Scanning dependencies of target LLVMMC
[ 4%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[ 4%] Linking CXX static library ../libLLVMBinaryFormat.a
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
[ 4%] Built target LLVMBinaryFormat
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/ConstantPools.h:17,
from /home/user/Public/llvm/lib/MC/ConstantPools.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/TableGen/SetTheory.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
[ 4%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ELFObjectWriter.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/MC/ELFObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/MC/ELFObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/MC/ELFObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/MC/ELFObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamError.cpp.o
[ 4%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmBackend.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmBackend.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmBackend.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamReader.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o
[ 4%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/lib/MC/MCAsmInfo.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamRef.cpp.o
[ 4%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o
Scanning dependencies of target LLVMMCParser
[ 4%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Init*, llvm::StringInit*>]’:
/home/user/Public/llvm/lib/TableGen/TGParser.cpp:2079:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Init*, llvm::StringInit*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Init*, llvm::StringInit*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/TableGen/TGLexer.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.h:17,
from /home/user/Public/llvm/lib/TableGen/TGParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/AsmLexer.h:17,
from /home/user/Public/llvm/lib/MC/MCParser/AsmLexer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/AsmLexer.h:17,
from /home/user/Public/llvm/lib/MC/MCParser/AsmLexer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamWriter.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
[ 4%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CachePruning.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /usr/include/c++/8.1.0/algorithm:60,
from /home/user/Public/llvm/include/llvm/Support/MathExtras.h:19,
from /home/user/Public/llvm/include/llvm/ADT/APInt.h:20,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /usr/include/c++/8.1.0/algorithm:60,
from /home/user/Public/llvm/include/llvm/Support/MathExtras.h:19,
from /home/user/Public/llvm/include/llvm/ADT/APInt.h:20,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /usr/include/c++/8.1.0/algorithm:60,
from /home/user/Public/llvm/include/llvm/Support/MathExtras.h:19,
from /home/user/Public/llvm/include/llvm/ADT/APInt.h:20,
from /home/user/Public/llvm/include/llvm/ADT/APFloat.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/AsmParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 4%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
[ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Chrono.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
[ 7%] Linking CXX static library ../libLLVMTableGen.a
[ 7%] Built target LLVMTableGen
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::StringRef, unsigned int>]’:
/home/user/Public/llvm/lib/Support/CommandLine.cpp:1196:71: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::StringRef, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::StringRef, unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const char*, llvm::cl::Option*>]’:
/home/user/Public/llvm/lib/Support/CommandLine.cpp:1766:73: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const char*, llvm::cl::Option*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const char*, llvm::cl::Option*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const char*, llvm::cl::SubCommand*>]’:
/home/user/Public/llvm/lib/Support/CommandLine.cpp:1779:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const char*, llvm::cl::SubCommand*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/lib/Support/CommandLine.cpp:19:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const char*, llvm::cl::SubCommand*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/COFFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/MCParser/DarwinAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoCOFF.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DebugCounter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoCOFF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoCOFF.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoCOFF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoCOFF.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoDarwin.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoDarwin.h:18,
from /home/user/Public/llvm/lib/MC/MCAsmInfoDarwin.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoDarwin.h:18,
from /home/user/Public/llvm/lib/MC/MCAsmInfoDarwin.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoELF.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoELF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoELF.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoELF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoELF.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoELF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoELF.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoELF.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoELF.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/ELFAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoWasm.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoWasm.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoWasm.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfo.h:19,
from /home/user/Public/llvm/include/llvm/MC/MCAsmInfoWasm.h:13,
from /home/user/Public/llvm/lib/MC/MCAsmInfoWasm.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmMacro.cpp.o
[ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmStreamer.cpp.o
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmLexer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/lib/MC/MCAsmStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParser.cpp.o
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o
[ 7%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o
[ 7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
[ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DJB.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h:13,
from /home/user/Public/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
Scanning dependencies of target LLVMMCDisassembler
[ 7%] Linking CXX static library ../../libLLVMMCParser.a
[ 7%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/Disassembler.cpp.o
[ 7%] Built target LLVMMCParser
Scanning dependencies of target llvm_vcsrevision_h
[ 7%] Generating VCSRevision.h
[ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAssembler.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.h:20,
from /home/user/Public/llvm/utils/TableGen/AsmWriterInst.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.h:21,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.h:21,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.h:21,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.h:21,
from /home/user/Public/llvm/lib/MC/MCDisassembler/Disassembler.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 9%] Built target llvm_vcsrevision_h
[ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeEmitter.cpp.o
[ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Error.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodePadder.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAssembler.h:13,
from /home/user/Public/llvm/lib/MC/MCAssembler.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 9%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCDisassembler.cpp.o
[ 9%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCAsmLayout.h:13,
from /home/user/Public/llvm/lib/MC/MCCodePadder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCAsmLayout.h:13,
from /home/user/Public/llvm/lib/MC/MCCodePadder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCAsmLayout.h:13,
from /home/user/Public/llvm/lib/MC/MCCodePadder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCAsmLayout.h:13,
from /home/user/Public/llvm/lib/MC/MCCodePadder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /usr/include/c++/8.1.0/algorithm:60,
from /home/user/Public/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h:20,
from /home/user/Public/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /usr/include/c++/8.1.0/algorithm:60,
from /home/user/Public/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h:20,
from /home/user/Public/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
[ 9%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCRelocationInfo.cpp.o
[ 9%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCSymbolizer.cpp.o
[ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeView.cpp.o
[ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
[ 12%] Linking CXX static library ../../libLLVMMCDisassembler.a
[ 12%] Built target LLVMMCDisassembler
Scanning dependencies of target LLVMDebugInfoMSF
[ 12%] Building CXX object lib/DebugInfo/MSF/CMakeFiles/LLVMDebugInfoMSF.dir/MappedBlockStream.cpp.o
[ 12%] Building CXX object lib/DebugInfo/MSF/CMakeFiles/LLVMDebugInfoMSF.dir/MSFBuilder.cpp.o
[ 12%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h:13,
from /home/user/Public/llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp:152:75: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h:13,
from /home/user/Public/llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<unsigned int, unsigned int>]’:
/home/user/Public/llvm/lib/MC/MCCodeView.cpp:616:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<unsigned int, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<unsigned int, unsigned int>’ declared here
struct pair
^~~~
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = llvm::msf::SuperBlock; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp:248:51: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:17,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFixup.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFragment.h:18,
from /home/user/Public/llvm/include/llvm/MC/MCCodeView.h:19,
from /home/user/Public/llvm/lib/MC/MCCodeView.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT>&) [with OtherBaseT = llvm::DenseMap<unsigned int, llvm::MCCVFunctionInfo::LineInfo>; DerivedT = llvm::DenseMap<unsigned int, llvm::MCCVFunctionInfo::LineInfo>; KeyT = unsigned int; ValueT = llvm::MCCVFunctionInfo::LineInfo; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, llvm::MCCVFunctionInfo::LineInfo>]’:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:711:7: required from ‘void llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = unsigned int; ValueT = llvm::MCCVFunctionInfo::LineInfo; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, llvm::MCCVFunctionInfo::LineInfo>]’
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:665:5: required from ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::DenseMap(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = unsigned int; ValueT = llvm::MCCVFunctionInfo::LineInfo; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, llvm::MCCVFunctionInfo::LineInfo>]’
/home/user/Public/llvm/include/llvm/MC/MCCodeView.h:112:8: required from ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = llvm::MCCVFunctionInfo; _Args = {const llvm::MCCVFunctionInfo&}]’
/usr/include/c++/8.1.0/bits/stl_uninitialized.h:83:18: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const llvm::MCCVFunctionInfo*; _ForwardIterator = llvm::MCCVFunctionInfo*; bool _TrivialValueTypes = false]’
/usr/include/c++/8.1.0/bits/stl_uninitialized.h:134:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const llvm::MCCVFunctionInfo*; _ForwardIterator = llvm::MCCVFunctionInfo*]’
/usr/include/c++/8.1.0/bits/stl_uninitialized.h:289:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = const llvm::MCCVFunctionInfo*; _ForwardIterator = llvm::MCCVFunctionInfo*; _Tp = llvm::MCCVFunctionInfo]’
/usr/include/c++/8.1.0/bits/stl_uninitialized.h:311:2: required from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = llvm::MCCVFunctionInfo*; _ForwardIterator = llvm::MCCVFunctionInfo*; _Allocator = std::allocator<llvm::MCCVFunctionInfo>]’
/usr/include/c++/8.1.0/bits/vector.tcc:611:7: required from ‘void std::__cxx1998::vector<_Tp, _Alloc>::_M_default_append(std::__cxx1998::vector<_Tp, _Alloc>::size_type) [with _Tp = llvm::MCCVFunctionInfo; _Alloc = std::allocator<llvm::MCCVFunctionInfo>; std::__cxx1998::vector<_Tp, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/8.1.0/bits/stl_vector.h:827:4: required from ‘void std::__cxx1998::vector<_Tp, _Alloc>::resize(std::__cxx1998::vector<_Tp, _Alloc>::size_type) [with _Tp = llvm::MCCVFunctionInfo; _Alloc = std::allocator<llvm::MCCVFunctionInfo>; std::__cxx1998::vector<_Tp, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/8.1.0/debug/vector:347:15: required from ‘void std::__debug::vector<_Tp, _Allocator>::resize(std::__debug::vector<_Tp, _Allocator>::size_type) [with _Tp = llvm::MCCVFunctionInfo; _Allocator = std::allocator<llvm::MCCVFunctionInfo>; std::__debug::vector<_Tp, _Allocator>::size_type = long unsigned int]’
/home/user/Public/llvm/lib/MC/MCCodeView.cpp:89:32: required from here
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:396:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct llvm::detail::DenseMapPair<unsigned int, llvm::MCCVFunctionInfo::LineInfo>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(getBuckets(), other.getBuckets(),
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getNumBuckets() * sizeof(BucketT));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:40:8: note: ‘struct llvm::detail::DenseMapPair<unsigned int, llvm::MCCVFunctionInfo::LineInfo>’ declared here
struct DenseMapPair : public std::pair<KeyT, ValueT> {
^~~~~~~~~~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/MemoryBuffer.h:18,
from /home/user/Public/llvm/utils/TableGen/Attributes.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/FoldingSet.h:19,
from /home/user/Public/llvm/lib/Support/FoldingSet.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned int; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/Support/FoldingSet.cpp:177:59: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/FoldingSet.h:19,
from /home/user/Public/llvm/lib/Support/FoldingSet.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 12%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
[ 12%] Building CXX object lib/DebugInfo/MSF/CMakeFiles/LLVMDebugInfoMSF.dir/MSFCommon.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormatVariadic.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CallingConvEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 12%] Building CXX object lib/DebugInfo/MSF/CMakeFiles/LLVMDebugInfoMSF.dir/MSFError.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GlobPattern.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
[ 12%] Linking CXX static library ../../libLLVMDebugInfoMSF.a
[ 12%] Built target LLVMDebugInfoMSF
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
Scanning dependencies of target LLVMDebugInfoCodeView
[ 12%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/AppendingTypeTableBuilder.cpp.o
[ 12%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[ 12%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/InitLLVM.cpp.o
[ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp:86:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCContext.h:13,
from /home/user/Public/llvm/lib/MC/MCContext.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeEmitterGen.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CodeViewError.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownBits.cpp.o
[ 14%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CodeViewRecordIO.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LEB128.cpp.o
[ 14%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/ContinuationRecordBuilder.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o
[ 14%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
[ 14%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CVSymbolVisitor.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCDwarf.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFObjectTargetWriter.cpp.o
[ 14%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenHwModes.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/MapVector.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCDwarf.h:18,
from /home/user/Public/llvm/lib/MC/MCDwarf.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT>&) [with OtherBaseT = llvm::DenseMap<llvm::CachedHashStringRef, long unsigned int>; DerivedT = llvm::DenseMap<llvm::CachedHashStringRef, long unsigned int>; KeyT = llvm::CachedHashStringRef; ValueT = long unsigned int; KeyInfoT = llvm::DenseMapInfo<llvm::CachedHashStringRef>; BucketT = llvm::detail::DenseMapPair<llvm::CachedHashStringRef, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:711:7: required from ‘void llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = llvm::CachedHashStringRef; ValueT = long unsigned int; KeyInfoT = llvm::DenseMapInfo<llvm::CachedHashStringRef>; BucketT = llvm::detail::DenseMapPair<llvm::CachedHashStringRef, long unsigned int>]’
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:695:7: required from ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>& llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::operator=(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = llvm::CachedHashStringRef; ValueT = long unsigned int; KeyInfoT = llvm::DenseMapInfo<llvm::CachedHashStringRef>; BucketT = llvm::detail::DenseMapPair<llvm::CachedHashStringRef, long unsigned int>]’
/home/user/Public/llvm/include/llvm/MC/StringTableBuilder.h:24:7: required from ‘llvm::optional_detail::OptionalStorage<T, IsPodLike>& llvm::optional_detail::OptionalStorage<T, IsPodLike>::operator=(T&&) [with T = llvm::MCDwarfLineStr; bool IsPodLike = false]’
/home/user/Public/llvm/include/llvm/ADT/Optional.h:147:13: required from ‘llvm::Optional<T>& llvm::Optional<T>::operator=(T&&) [with T = llvm::MCDwarfLineStr]’
/home/user/Public/llvm/lib/MC/MCDwarf.cpp:247:37: required from here
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:396:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct llvm::detail::DenseMapPair<llvm::CachedHashStringRef, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(getBuckets(), other.getBuckets(),
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getNumBuckets() * sizeof(BucketT));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:40:8: note: ‘struct llvm::detail::DenseMapPair<llvm::CachedHashStringRef, long unsigned int>’ declared here
struct DenseMapPair : public std::pair<KeyT, ValueT> {
^~~~~~~~~~~~
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LowLevelType.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.cpp:12:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
[ 14%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
[ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CVTypeVisitor.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFStreamer.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/NativeFormatting.cpp.o
[ 17%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCELFStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCELFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Options.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCExpr.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Parallel.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/lib/MC/MCExpr.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/lib/MC/MCExpr.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/lib/MC/MCExpr.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/lib/MC/MCExpr.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugChecksumsSubsection.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp:73:59: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCFragment.cpp.o
[ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugCrossExSubsection.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFragment.h:13,
from /home/user/Public/llvm/lib/MC/MCFragment.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFragment.h:13,
from /home/user/Public/llvm/lib/MC/MCFragment.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFragment.h:13,
from /home/user/Public/llvm/lib/MC/MCFragment.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCFragment.h:13,
from /home/user/Public/llvm/lib/MC/MCFragment.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugCrossImpSubsection.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInst.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScopedPrinter.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/Format.h:26,
from /home/user/Public/llvm/include/llvm/MC/MCInstPrinter.h:13,
from /home/user/Public/llvm/lib/MC/MCInstPrinter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/Format.h:26,
from /home/user/Public/llvm/include/llvm/MC/MCInstPrinter.h:13,
from /home/user/Public/llvm/lib/MC/MCInstPrinter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLabel.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCLinkerOptimizationHint.h:20,
from /home/user/Public/llvm/lib/MC/MCLinkerOptimizationHint.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCLinkerOptimizationHint.h:20,
from /home/user/Public/llvm/lib/MC/MCLinkerOptimizationHint.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
[ 17%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MCMachOStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 17%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCMachObjectWriter.h:13,
from /home/user/Public/llvm/lib/MC/MCMachObjectTargetWriter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCMachObjectWriter.h:13,
from /home/user/Public/llvm/lib/MC/MCMachObjectTargetWriter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/lib/Support/SourceMgr.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<unsigned int, unsigned int>]’:
/home/user/Public/llvm/lib/Support/SourceMgr.cpp:220:71: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<unsigned int, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/lib/Support/SourceMgr.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<unsigned int, unsigned int>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCInst.h:19,
from /home/user/Public/llvm/lib/MC/MCNullStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCInst.h:19,
from /home/user/Public/llvm/lib/MC/MCNullStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCInst.h:19,
from /home/user/Public/llvm/lib/MC/MCNullStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCInst.h:19,
from /home/user/Public/llvm/lib/MC/MCNullStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugFrameDataSubsection.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/ADT/Triple.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCObjectFileInfo.h:17,
from /home/user/Public/llvm/lib/MC/MCObjectFileInfo.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/ADT/Triple.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCObjectFileInfo.h:17,
from /home/user/Public/llvm/lib/MC/MCObjectFileInfo.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/ADT/Triple.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCObjectFileInfo.h:17,
from /home/user/Public/llvm/lib/MC/MCObjectFileInfo.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/ADT/Triple.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCObjectFileInfo.h:17,
from /home/user/Public/llvm/lib/MC/MCObjectFileInfo.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugInlineeLinesSubsection.cpp.o
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugLinesSubsection.cpp.o
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCObjectStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringExtras.h:17,
from /home/user/Public/llvm/lib/Support/Statistic.cpp:25:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/YAMLParser.h:138:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/memory:62,
from /home/user/Public/llvm/include/llvm/ADT/Statistic.h:32,
from /home/user/Public/llvm/lib/Support/Statistic.cpp:24:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCObjectWriter.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectWriter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCObjectWriter.h:13,
from /home/user/Public/llvm/lib/MC/MCObjectWriter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugStringTableSubsection.cpp.o
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugSubsection.cpp.o
[ 19%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringPool.cpp.o
[ 19%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugSubsectionRecord.cpp.o
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCRegisterInfo.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenMapTable.cpp:79:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSchedule.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/StringSaver.h:13,
from /home/user/Public/llvm/lib/Support/StringSaver.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/Support/StringSaver.cpp:15:46: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/StringSaver.h:13,
from /home/user/Public/llvm/lib/Support/StringSaver.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 19%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o
[ 19%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSection.cpp.o
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
In file included from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<unsigned int, llvm::MCFragment*>]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:482:7: required from ‘llvm::SmallVectorImpl<T>::iterator llvm::SmallVectorImpl<T>::insert(llvm::SmallVectorImpl<T>::iterator, T&&) [with T = std::pair<unsigned int, llvm::MCFragment*>; llvm::SmallVectorImpl<T>::iterator = std::pair<unsigned int, llvm::MCFragment*>*]’
/home/user/Public/llvm/lib/MC/MCSection.cpp:81:67: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<unsigned int, llvm::MCFragment*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<unsigned int, llvm::MCFragment*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSection.h:17,
from /home/user/Public/llvm/lib/MC/MCSection.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 19%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TarWriter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::CodeGenSubRegIndex* const, llvm::CodeGenRegister*>]’:
/home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:522:37: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::CodeGenSubRegIndex* const, llvm::CodeGenRegister*>’ with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::CodeGenSubRegIndex* const, llvm::CodeGenRegister*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const llvm::CodeGenRegister*, const llvm::CodeGenRegister*>]’:
/home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:2164:51: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::CodeGenRegister*, const llvm::CodeGenRegister*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::CodeGenRegister*, const llvm::CodeGenRegister*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionCOFF.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionCOFF.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionCOFF.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionCOFF.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionCOFF.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionELF.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionELF.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionELF.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionELF.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionELF.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionMachO.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugSubsectionVisitor.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionMachO.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionMachO.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionMachO.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionMachO.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionMachO.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionMachO.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionMachO.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionMachO.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionWasm.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionWasm.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionWasm.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Twine.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCSectionWasm.h:17,
from /home/user/Public/llvm/lib/MC/MCSectionWasm.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugSymbolRVASubsection.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugSymbolsSubsection.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCStreamer.h:17,
from /home/user/Public/llvm/lib/MC/MCStreamer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/EnumTables.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/Timer.h:13,
from /home/user/Public/llvm/lib/Support/Timer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/YAMLParser.h:138:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/Timer.h:13,
from /home/user/Public/llvm/lib/Support/Timer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Formatters.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/GlobalTypeTableBuilder.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h:78:56: required from ‘llvm::codeview::TypeIndex llvm::codeview::GlobalTypeTableBuilder::insertRecordAs(llvm::codeview::GloballyHashedType, size_t, CreateFunc) [with CreateFunc = llvm::codeview::GlobalTypeTableBuilder::insertRecordBytes(llvm::ArrayRef<unsigned char>)::<lambda(llvm::MutableArrayRef<unsigned char>)>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp:103:26: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbol.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TrigramIndex.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/lib/MC/MCSymbol.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/lib/MC/MCSymbol.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/lib/MC/MCSymbol.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/lib/MC/MCSymbol.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/include/llvm/MC/MCSymbolELF.h:12,
from /home/user/Public/llvm/lib/MC/MCSymbolELF.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCSymbol.h:18,
from /home/user/Public/llvm/include/llvm/MC/MCSymbolELF.h:12,
from /home/user/Public/llvm/lib/MC/MCSymbolELF.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCValue.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCValue.h:17,
from /home/user/Public/llvm/lib/MC/MCValue.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/include/llvm/MC/MCExpr.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCValue.h:17,
from /home/user/Public/llvm/lib/MC/MCValue.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmObjectTargetWriter.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmStreamer.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/MCWasmObjectTargetWriter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/MCWasmObjectTargetWriter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/LazyRandomTypeCollection.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCAsmBackend.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWasmStreamer.h:13,
from /home/user/Public/llvm/lib/MC/MCWasmStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWin64EH.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/Support/Endian.h:19,
from /home/user/Public/llvm/include/llvm/Support/Win64EH.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:19,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:18,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/Support/Endian.h:19,
from /home/user/Public/llvm/include/llvm/Support/Win64EH.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:19,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:18,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/Support/Endian.h:19,
from /home/user/Public/llvm/include/llvm/Support/Win64EH.h:20,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:19,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/include/llvm/MC/MCWin64EH.h:18,
from /home/user/Public/llvm/lib/MC/MCWin64EH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeCaseFold.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/WithColor.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/ADT/SmallVector.h:17,
from /home/user/Public/llvm/include/llvm/ADT/SmallString.h:17,
from /home/user/Public/llvm/lib/MC/MCWinCOFFStreamer.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenSchedule.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/YAMLParser.h:41,
from /home/user/Public/llvm/lib/Support/YAMLParser.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/YAMLParser.h:138:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/YAMLParser.h:41,
from /home/user/Public/llvm/lib/Support/YAMLParser.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenSchedule.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/MergingTypeTableBuilder.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp:90:56: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/RecordName.cpp.o
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/RecordSerialization.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SimpleTypeSerializer.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/StringsAndChecksums.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolRecordMapping.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolDumper.cpp.o
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T2 = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:462:62: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T2 = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:512:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MachObjectWriter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/Support/YAMLTraits.h:14,
from /home/user/Public/llvm/lib/Support/YAMLTraits.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/YAMLParser.h:138:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/Support/YAMLTraits.h:13,
from /home/user/Public/llvm/lib/Support/YAMLTraits.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MachObjectWriter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/MachObjectWriter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/home/user/Public/llvm/include/llvm/MC/MCStreamer.h:361:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/vector:60,
from /home/user/Public/llvm/include/llvm/MC/MCWinEH.h:13,
from /home/user/Public/llvm/lib/MC/MCWinEH.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o
[ 21%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolSerializer.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/Support/Endian.h:19,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/CodeView.h:20,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h:14,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp:54:63: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
[ 21%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/SubtargetFeature.cpp.o
[ 24%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeDumpVisitor.cpp.o
[ 24%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WasmObjectWriter.cpp.o
[ 24%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<short unsigned int, unsigned int>]’:
/home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:1458:64: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<short unsigned int, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<short unsigned int, unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/lib/MC/WasmObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 24%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[ 24%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o
[ 24%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o
[ 24%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/WinCOFFObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/MC/MCContext.h:627:44: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/WinCOFFObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/WinCOFFObjectWriter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/home/user/Public/llvm/include/llvm/MC/MCFragment.h:648:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/lib/MC/WinCOFFObjectWriter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
struct pair
^~~~
[ 26%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o
[ 26%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/xxhash.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T2 = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:462:62: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T2 = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:512:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndex.cpp.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndexDiscovery.cpp.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/lib/Support/Host.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<int, int>]’:
/home/user/Public/llvm/include/llvm/ADT/SmallSet.h:89:7: required from ‘std::pair<llvm::NoneType, bool> llvm::SmallSet<T, N, C>::insert(const T&) [with T = std::pair<int, int>; unsigned int N = 32; C = std::less<std::pair<int, int> >]’
/home/user/Public/llvm/lib/Support/Host.cpp:1121:66: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<int, int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/lib/Support/Host.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<int, int>’ declared here
struct pair
^~~~
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeHashing.cpp.o
[ 26%] Linking CXX static library ../libLLVMMC.a
[ 26%] Built target LLVMMC
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordMapping.cpp.o
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherGen.cpp.o
[ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mutex.cpp.o
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’:
/home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:399:73: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’:
/home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:435:63: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T2 = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:462:62: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T2 = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:512:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, unsigned int>]’:
/home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:265:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const llvm::TreePatternNode*, unsigned int>]’:
/home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:285:69: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::TreePatternNode*, unsigned int’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::TreePatternNode*, unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T2 = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:462:62: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T2 = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:512:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcherGen.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeStreamMerger.cpp.o
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcher.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/home/user/Public/llvm/include/llvm/Support/Allocator.h:252:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:58:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/Support/Allocator.h:80:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = unsigned char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long unsigned int]’
/home/user/Public/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h:78:56: required from ‘llvm::codeview::TypeIndex llvm::codeview::GlobalTypeTableBuilder::insertRecordAs(llvm::codeview::GloballyHashedType, size_t, CreateFunc) [with CreateFunc = {anonymous}::TypeStreamMerger::remapType(const CVType&)::<lambda(llvm::MutableArrayRef<unsigned char>)>; size_t = long unsigned int]’
/home/user/Public/llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp:355:73: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h:13,
from /home/user/Public/llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T2 = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:462:62: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<const llvm::SDNodeInfo*, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T2 = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:403:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:884:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>*; <template-parameter-2-2> = void; T = std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>; unsigned int N = 8]’
/home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:512:58: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::MVT::SimpleValueType, llvm::Matcher*>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.h:13,
from /home/user/Public/llvm/utils/TableGen/DAGISelMatcher.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o
[ 26%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableCollection.cpp.o
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DisassemblerEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DFAPacketizerEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Linking CXX static library ../../libLLVMDebugInfoCodeView.a
[ 26%] Built target LLVMDebugInfoCodeView
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FastISelEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/DisassemblerEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FixedLenDecoderEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/FastISelEmitter.cpp:20:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/GlobalISelEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:21,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:22,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:20,
from /home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:33:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT>&) [with OtherBaseT = llvm::DenseMap<unsigned int, unsigned int>; DerivedT = llvm::DenseMap<unsigned int, unsigned int>; KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, unsigned int>]’:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:711:7: required from ‘void llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, unsigned int>]’
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:665:5: required from ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::DenseMap(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo<unsigned int>; BucketT = llvm::detail::DenseMapPair<unsigned int, unsigned int>]’
/home/user/Public/llvm/utils/TableGen/GlobalISelEmitter.cpp:421:7: required from here
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:396:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct llvm::detail::DenseMapPair<unsigned int, unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(getBuckets(), other.getBuckets(),
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getNumBuckets() * sizeof(BucketT));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:40:8: note: ‘struct llvm::detail::DenseMapPair<unsigned int, unsigned int>’ declared here
struct DenseMapPair : public std::pair<KeyT, ValueT> {
^~~~~~~~~~~~
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InfoByHwMode.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 26%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InstrInfoEmitter.cpp.o
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InstrDocsEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrInfoEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/InstrDocsEmitter.cpp:22:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/IntrinsicEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/Support/MachineValueType.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenIntrinsics.h:18,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/Support/MachineValueType.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenIntrinsics.h:18,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/debug/helper_functions.h:36,
from /usr/include/c++/8.1.0/debug/stl_iterator.h:32,
from /usr/include/c++/8.1.0/bits/stl_iterator.h:1272,
from /usr/include/c++/8.1.0/iterator:63,
from /home/user/Public/llvm/include/llvm/ADT/iterator_range.h:22,
from /home/user/Public/llvm/include/llvm/Support/MachineValueType.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenIntrinsics.h:18,
from /home/user/Public/llvm/utils/TableGen/IntrinsicEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/OptParserEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/OptParserEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/PseudoLoweringEmitter.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RISCVCompressInstEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:57:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:21,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:22,
from /home/user/Public/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp:58:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT>&) [with OtherBaseT = llvm::DenseMap<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>; DerivedT = llvm::DenseMap<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>; KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::CodeGenRegisterClass*; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>]’:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:711:7: required from ‘void llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::CodeGenRegisterClass*; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>]’
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:665:5: required from ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::DenseMap(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::CodeGenRegisterClass*; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>]’
/home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:292:9: required from here
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:396:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(getBuckets(), other.getBuckets(),
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getNumBuckets() * sizeof(BucketT));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:40:8: note: ‘struct llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::CodeGenRegisterClass*>’ declared here
struct DenseMapPair : public std::pair<KeyT, ValueT> {
^~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT>&) [with OtherBaseT = llvm::DenseMap<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >; DerivedT = llvm::DenseMap<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >; KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8>; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >]’:
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:711:7: required from ‘void llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::copyFrom(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8>; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >]’
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:665:5: required from ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::DenseMap(const llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>&) [with KeyT = const llvm::CodeGenSubRegIndex*; ValueT = llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8>; KeyInfoT = llvm::DenseMapInfo<const llvm::CodeGenSubRegIndex*>; BucketT = llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >]’
/home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:292:9: required from here
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:396:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(getBuckets(), other.getBuckets(),
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getNumBuckets() * sizeof(BucketT));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/Public/llvm/include/llvm/ADT/DenseMap.h:40:8: note: ‘struct llvm::detail::DenseMapPair<const llvm::CodeGenSubRegIndex*, llvm::SmallPtrSet<llvm::CodeGenRegisterClass*, 8> >’ declared here
struct DenseMapPair : public std::pair<KeyT, ValueT> {
^~~~~~~~~~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterBankEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/BitVector.h:17,
from /home/user/Public/llvm/utils/TableGen/RegisterBankEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SDNodeProperties.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/InfoByHwMode.h:18,
from /home/user/Public/llvm/utils/TableGen/CodeGenRegisters.h:18,
from /home/user/Public/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SDNodeProperties.cpp:11:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SearchableTableEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/DenseMapInfo.h:17,
from /home/user/Public/llvm/include/llvm/ADT/DenseMap.h:17,
from /home/user/Public/llvm/utils/TableGen/SearchableTableEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/SubtargetEmitter.cpp:14:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/include/llvm/TableGen/Error.h:18,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.h:13,
from /home/user/Public/llvm/utils/TableGen/SubtargetFeatureInfo.cpp:10:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/CommandLine.h:23,
from /home/user/Public/llvm/utils/TableGen/TableGen.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Types.cpp.o
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o
In file included from /home/user/Public/llvm/include/llvm/Support/raw_ostream.h:17,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.h:22,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>]’:
/home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:844:59: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerShared.h:14,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.h:20,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/Support/raw_ostream.h:17,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.h:22,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>; T2 = std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>; T = std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>; unsigned int N = 6]’
/usr/include/c++/8.1.0/tuple:1668:70: required from ‘std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&}; long unsigned int ..._Indexes1 = {0}; _Args2 = {}; long unsigned int ..._Indexes2 = {}; _T1 = const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _T2 = unsigned int]’
/usr/include/c++/8.1.0/tuple:1657:63: required from ‘std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&}; _Args2 = {}; _T1 = const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _T2 = unsigned int]’
/usr/include/c++/8.1.0/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int>; _Args = {const std::piecewise_construct_t&, std::tuple<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >]’
/usr/include/c++/8.1.0/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int>; _Args = {const std::piecewise_construct_t&, std::tuple<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> > >]’
/usr/include/c++/8.1.0/bits/stl_tree.h:637:32: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&>, std::tuple<>}; _Key = llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _Val = std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; _Compare = std::less<llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6> >; _Alloc = std::allocator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >*]’
/usr/include/c++/8.1.0/bits/stl_tree.h:654:4: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&>, std::tuple<>}; _Key = llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _Val = std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; _Compare = std::less<llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6> >; _Alloc = std::allocator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >*]’
/usr/include/c++/8.1.0/bits/stl_tree.h:2414:13: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>&>, std::tuple<>}; _Key = llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _Val = std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; _Compare = std::less<llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6> >; _Alloc = std::allocator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >]’
/usr/include/c++/8.1.0/bits/stl_map.h:499:8: required from ‘std::__cxx1998::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::__cxx1998::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>; _Tp = unsigned int; _Compare = std::less<llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6> >; _Alloc = std::allocator<std::pair<const llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>, unsigned int> >; std::__cxx1998::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = unsigned int; std::__cxx1998::map<_Key, _Tp, _Compare, _Alloc>::key_type = llvm::SmallVector<std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>, 6>]’
/home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:846:42: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/8.1.0/bits/char_traits.h:39,
from /usr/include/c++/8.1.0/string:40,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerShared.h:14,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.h:20,
from /home/user/Public/llvm/utils/TableGen/X86DisassemblerTables.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::X86Disassembler::OperandEncoding, llvm::X86Disassembler::OperandType>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenDAGPatterns.h:18,
from /home/user/Public/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86FoldTablesEmitter.cpp:15:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/utils/TableGen/CodeGenInstruction.h:17,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h:18,
from /home/user/Public/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/utils/TableGen/CodeGenHwModes.h:15,
from /home/user/Public/llvm/utils/TableGen/CodeGenTarget.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.h:20,
from /home/user/Public/llvm/utils/TableGen/X86RecognizableInstr.cpp:17:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1499:52: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<bool, llvm::StringRef>]’:
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1719:77: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<bool, llvm::StringRef>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<bool, llvm::StringRef>’ declared here
struct pair
^~~~
In file included from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:21,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<llvm::Record*, llvm::SMRange>; T2 = std::pair<llvm::Record*, llvm::SMRange>; T = std::pair<llvm::Record*, llvm::SMRange>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:772:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(const llvm::SmallVectorImpl<T>&) [with T = std::pair<llvm::Record*, llvm::SMRange>]’
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:899:36: required from ‘llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = std::pair<llvm::Record*, llvm::SMRange>; unsigned int N = 0]’
/home/user/Public/llvm/include/llvm/TableGen/Record.h:1383:30: required from here
/home/user/Public/llvm/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<llvm::Record*, llvm::SMRange>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(Dest, I, (E - I) * sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.1.0/utility:70,
from /home/user/Public/llvm/include/llvm/Support/type_traits.h:19,
from /home/user/Public/llvm/include/llvm/ADT/Optional.h:22,
from /home/user/Public/llvm/include/llvm/ADT/STLExtras.h:20,
from /home/user/Public/llvm/include/llvm/ADT/StringRef.h:13,
from /home/user/Public/llvm/include/llvm/ADT/StringMap.h:17,
from /home/user/Public/llvm/include/llvm/Support/Host.h:17,
from /home/user/Public/llvm/include/llvm/ADT/Hashing.h:49,
from /home/user/Public/llvm/include/llvm/ADT/ArrayRef.h:13,
from /home/user/Public/llvm/include/llvm/Support/SourceMgr.h:19,
from /home/user/Public/llvm/utils/TableGen/CTagsEmitter.cpp:16:
/usr/include/c++/8.1.0/bits/stl_pair.h:198:12: note: ‘struct std::pair<llvm::Record*, llvm::SMRange>’ declared here
struct pair
^~~~
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o
In file included from /home/user/Public/llvm/lib/Support/Path.cpp:1079:
/home/user/Public/llvm/lib/Support/Unix/Path.inc: In function ‘std::__cxx11::string llvm::sys::fs::getMainExecutable(const char*, void*)’:
/home/user/Public/llvm/lib/Support/Unix/Path.inc:105:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
snprintf(fullpath, PATH_MAX, "%s/%s", dir, bin);
^~~~~~~
/home/user/Public/llvm/lib/Support/Unix/Path.inc:105:11: note: ‘snprintf’ output 2 or more bytes (assuming 4097) into a destination of size 4096
snprintf(fullpath, PATH_MAX, "%s/%s", dir, bin);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o
[ 29%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
[ 29%] Linking CXX static library ../libLLVMSupport.a
[ 29%] Built target LLVMSupport
[ 29%] Built target obj.llvm-tblgen
Scanning dependencies of target llvm-tblgen
[ 29%] Linking CXX executable ../../bin/llvm-tblgen
[ 29%] Built target llvm-tblgen
Scanning dependencies of target AttributeCompatFuncTableGen
Scanning dependencies of target intrinsics_gen
[ 29%] Building AttributesCompatFunc.inc...
[ 29%] Building Intrinsics.inc...
[ 29%] Building Attributes.inc...
[ 29%] Updating AttributesCompatFunc.inc...
[ 29%] Updating Attributes.inc...
[ 29%] Built target AttributeCompatFuncTableGen
/usr/include/c++/8.1.0/debug/safe_container.h:83:
Error: attempt to self move assign.
Objects involved in the operation:
sequence "this" @ 0x0x7faf7f3ebc48 {
}
#0 0x00007faf83a1abac __interceptor_backtrace.part.130 /build/gcc/src/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3752:28
#1 0x0000563103f67e95 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (../../../bin/llvm-tblgen+0xff0e95)
#2 0x0000563103f4d7b1 llvm::sys::RunSignalHandlers() (../../../bin/llvm-tblgen+0xfd67b1)
#3 0x0000563103f50107 SignalHandler(int) (../../../bin/llvm-tblgen+0xfd9107)
#4 0x00007faf83770a80 __restore_rt (/usr/lib/libpthread.so.0+0x11a80)
#5 0x00007faf8221386b __GI_raise (/usr/lib/libc.so.6+0x3686b)
#6 0x00007faf821fe40e __GI_abort (/usr/lib/libc.so.6+0x2140e)
#7 0x00007faf82bd14ba std::__throw_logic_error(char const*) [clone .cold.0] /build/gcc/src/gcc/libstdc++-v3/src/c++11/functexcept.cc:66:5
#8 0x000056310363a864 __gnu_debug::_Safe_container<std::__debug::vector<llvm::MVT::SimpleValueType, std::allocator<llvm::MVT::SimpleValueType> >, std::allocator<llvm::MVT::SimpleValueType>, __gnu_debug::_Safe_sequence, true>::operator=(__gnu_debug::_Safe_container<std::__debug::vector<llvm::MVT::SimpleValueType, std::allocator<llvm::MVT::SimpleValueType> >, std::allocator<llvm::MVT::SimpleValueType>, __gnu_debug::_Safe_sequence, true>&&) [clone .part.611] (../../../bin/llvm-tblgen+0x6c3864)
#9 0x000056310366c580 llvm::CodeGenIntrinsic::operator=(llvm::CodeGenIntrinsic&&) (../../../bin/llvm-tblgen+0x6f5580)
#10 0x000056310366da5e std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<llvm::CodeGenIntrinsic> >, std::is_move_constructible<llvm::CodeGenIntrinsic>, std::is_move_assignable<llvm::CodeGenIntrinsic> >::value, void>::type std::swap<llvm::CodeGenIntrinsic>(llvm::CodeGenIntrinsic&, llvm::CodeGenIntrinsic&) (../../../bin/llvm-tblgen+0x6f6a5e)
#11 0x000056310366dda1 void std::iter_swap<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > > >(__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >) (../../../bin/llvm-tblgen+0x6f6da1)
#12 0x0000563103677cbb void std::shuffle<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::mersenne_twister_engine<unsigned long, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>&>(__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::mersenne_twister_engine<unsigned long, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>&) (../../../bin/llvm-tblgen+0x700cbb)
#13 0x000056310369379d void llvm::sort<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, llvm::CodeGenIntrinsicTable::CodeGenIntrinsicTable(llvm::RecordKeeper const&, bool)::{lambda(llvm::CodeGenIntrinsic const&, llvm::CodeGenIntrinsic const&)#1}>(__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::CodeGenIntrinsic*, std::__cxx1998::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, std::__debug::vector<llvm::CodeGenIntrinsic, std::allocator<llvm::CodeGenIntrinsic> > >, llvm::CodeGenIntrinsicTable::CodeGenIntrinsicTable(llvm::RecordKeeper const&, bool)::{lambda(llvm::CodeGenIntrinsic const&, llvm::CodeGenIntrinsic const&)#1}, llvm::CodeGenIntrinsicTable::CodeGenIntrinsicTable(llvm::RecordKeeper const&, bool)::{lambda(llvm::CodeGenIntrinsic const&, llvm::CodeGenIntrinsic const&)#1}) [clone .isra.756] (../../../bin/llvm-tblgen+0x71c79d)
#14 0x00005631036b123b llvm::CodeGenIntrinsicTable::CodeGenIntrinsicTable(llvm::RecordKeeper const&, bool) (../../../bin/llvm-tblgen+0x73a23b)
#15 0x0000563103a387a2 (anonymous namespace)::IntrinsicEmitter::run(llvm::raw_ostream&) (../../../bin/llvm-tblgen+0xac17a2)
#16 0x0000563103a41e09 llvm::EmitIntrinsics(llvm::RecordKeeper&, llvm::raw_ostream&, bool) (../../../bin/llvm-tblgen+0xacae09)
#17 0x0000563103cce9a1 (anonymous namespace)::LLVMTableGenMain(llvm::raw_ostream&, llvm::RecordKeeper&) (../../../bin/llvm-tblgen+0xd579a1)
#18 0x0000563103f7dce8 llvm::TableGenMain(char*, bool (*)(llvm::raw_ostream&, llvm::RecordKeeper&)) (../../../bin/llvm-tblgen+0x1006ce8)
#19 0x0000563103090f77 main (../../../bin/llvm-tblgen+0x119f77)
#20 0x00007faf8220006b __libc_start_main (/usr/lib/libc.so.6+0x2306b)
#21 0x00005631030a1b0a _start (../../../bin/llvm-tblgen+0x12ab0a)
Stack dump:
0. Program arguments: ../../../bin/llvm-tblgen -gen-intrinsic -I /home/user/Public/llvm/include/llvm/IR -I /home/user/Public/llvm/include /home/user/Public/llvm/include/llvm/IR/Intrinsics.td -o /home/user/Public/llvm-build/include/llvm/IR/Intrinsics.inc.tmp
make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:160: include/llvm/IR/Intrinsics.inc.tmp] Aborted (core dumped)
make[2]: *** [CMakeFiles/Makefile2:947: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:11024: tools/llc/CMakeFiles/llc.dir/rule] Error 2
make: *** [Makefile:3410: llc] Error 2
[user@ws-073 llvm-build]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment