CMakeLists.txt | 11 +- README.md | 10 +- c_headers/__clang_cuda_builtin_vars.h | 2 +- c_headers/__clang_cuda_device_functions.h | 1768 + c_headers/__clang_cuda_intrinsics.h | 3 + c_headers/__clang_cuda_libdevice_declares.h | 466 + c_headers/__clang_cuda_runtime_wrapper.h | 95 +- c_headers/__wmmintrin_aes.h | 25 +- c_headers/__wmmintrin_pclmul.h | 19 +- c_headers/ammintrin.h | 14 +- c_headers/arm_fp16.h | 1499 + c_headers/arm_neon.h | 65014 ++++++++++++++++---------------- c_headers/avx2intrin.h | 658 +- c_headers/avx512bitalgintrin.h | 6 +- c_headers/avx512bwintrin.h | 866 +- c_headers/avx512cdintrin.h | 34 +- c_headers/avx512dqintrin.h | 660 +- c_headers/avx512erintrin.h | 128 +- c_headers/avx512fintrin.h | 6519 ++-- c_headers/avx512ifmaintrin.h | 48 +- c_headers/avx512ifmavlintrin.h | 116 +- c_headers/avx512pfintrin.h | 70 +- c_headers/avx512vbmi2intrin.h | 130 +- c_headers/avx512vbmiintrin.h | 66 +- c_headers/avx512vbmivlintrin.h | 183 +- c_headers/avx512vlbitalgintrin.h | 72 +- c_headers/avx512vlbwintrin.h | 977 +- c_headers/avx512vlcdintrin.h | 140 +- c_headers/avx512vldqintrin.h | 579 +- c_headers/avx512vlintrin.h | 5879 ++- c_headers/avx512vlvbmi2intrin.h | 475 +- c_headers/avx512vlvnniintrin.h | 253 +- c_headers/avx512vnniintrin.h | 99 +- c_headers/avx512vpopcntdqintrin.h | 6 +- c_headers/avx512vpopcntdqvlintrin.h | 40 +- c_headers/avxintrin.h | 1181 +- c_headers/bmiintrin.h | 38 +- c_headers/cetintrin.h | 22 +- c_headers/cldemoteintrin.h | 42 + c_headers/clflushoptintrin.h | 2 +- c_headers/clwbintrin.h | 2 +- c_headers/clzerointrin.h | 12 +- c_headers/cpuid.h | 14 +- c_headers/cuda_wrappers/algorithm | 64 +- c_headers/emmintrin.h | 766 +- c_headers/f16cintrin.h | 82 +- c_headers/fma4intrin.h | 70 +- c_headers/fmaintrin.h | 72 +- c_headers/fxsrintrin.h | 16 +- c_headers/gfniintrin.h | 112 +- c_headers/htmxlintrin.h | 2 +- c_headers/ia32intrin.h | 5 + c_headers/immintrin.h | 197 +- c_headers/intrin.h | 144 +- c_headers/invpcidintrin.h | 37 + c_headers/lwpintrin.h | 14 +- c_headers/lzcntintrin.h | 14 +- c_headers/mm3dnow.h | 6 +- c_headers/mmintrin.h | 160 +- c_headers/module.modulemap | 20 +- c_headers/movdirintrin.h | 63 + c_headers/mwaitxintrin.h | 6 +- c_headers/nmmintrin.h | 6 +- c_headers/opencl-c.h | 14 +- c_headers/pconfigintrin.h | 50 + c_headers/pkuintrin.h | 4 +- c_headers/pmmintrin.h | 30 +- c_headers/popcntintrin.h | 14 +- c_headers/prfchwintrin.h | 6 +- c_headers/ptwriteintrin.h | 51 + c_headers/rdseedintrin.h | 2 +- c_headers/sgxintrin.h | 70 + c_headers/shaintrin.h | 6 +- c_headers/smmintrin.h | 339 +- c_headers/stdarg.h | 7 - c_headers/stddef.h | 38 - c_headers/stdint.h | 4 +- c_headers/tmmintrin.h | 124 +- c_headers/unwind.h | 4 + c_headers/vaesintrin.h | 4 +- c_headers/vpclmulqdqintrin.h | 10 +- c_headers/waitpkgintrin.h | 56 + c_headers/wbnoinvdintrin.h | 38 + c_headers/wmmintrin.h | 6 +- c_headers/x86intrin.h | 25 +- c_headers/xmmintrin.h | 462 +- c_headers/xopintrin.h | 74 +- c_headers/xsavecintrin.h | 2 +- c_headers/xsaveintrin.h | 10 +- c_headers/xsaveoptintrin.h | 6 +- c_headers/xsavesintrin.h | 2 +- c_headers/xtestintrin.h | 2 +- ci/appveyor/appveyor.yml | 3 +- ci/appveyor/build_script.bat | 8 +- ci/travis_linux_before_install | 2 +- ci/travis_linux_install | 2 +- ci/travis_linux_script | 6 +- ci/travis_osx_install | 4 +- ci/travis_osx_script | 2 +- cmake/Findclang.cmake | 8 +- cmake/Findlld.cmake | 1 + cmake/Findllvm.cmake | 6 +- deps/lld-prebuilt/COFF/Options.inc | 54 +- deps/lld-prebuilt/DarwinLdOptions.inc | 5 + deps/lld-prebuilt/ELF/Options.inc | 460 +- deps/lld-prebuilt/MinGW/Options.inc | 12 + deps/lld-prebuilt/lld/Common/Version.inc | 6 +- deps/lld-prebuilt/wasm/Options.inc | 59 +- deps/lld/COFF/CMakeLists.txt | 1 - deps/lld/COFF/Chunks.cpp | 175 +- deps/lld/COFF/Chunks.h | 92 +- deps/lld/COFF/Config.h | 30 +- deps/lld/COFF/DLL.cpp | 2 +- deps/lld/COFF/DLL.h | 5 + deps/lld/COFF/Driver.cpp | 526 +- deps/lld/COFF/Driver.h | 22 +- deps/lld/COFF/DriverUtils.cpp | 144 +- deps/lld/COFF/ICF.cpp | 96 +- deps/lld/COFF/ICF.h | 26 + deps/lld/COFF/InputFiles.cpp | 146 +- deps/lld/COFF/InputFiles.h | 68 +- deps/lld/COFF/LTO.cpp | 70 +- deps/lld/COFF/LTO.h | 2 +- deps/lld/COFF/MapFile.cpp | 12 +- deps/lld/COFF/MarkLive.cpp | 7 +- deps/lld/COFF/MarkLive.h | 24 + deps/lld/COFF/MinGW.cpp | 2 +- deps/lld/COFF/Options.td | 30 +- deps/lld/COFF/PDB.cpp | 522 +- deps/lld/COFF/PDB.h | 4 + deps/lld/COFF/Strings.cpp | 35 - deps/lld/COFF/Strings.h | 23 - deps/lld/COFF/SymbolTable.cpp | 96 +- deps/lld/COFF/SymbolTable.h | 6 +- deps/lld/COFF/Symbols.cpp | 8 +- deps/lld/COFF/Symbols.h | 11 +- deps/lld/COFF/Writer.cpp | 825 +- deps/lld/COFF/Writer.h | 16 +- deps/lld/Common/Args.cpp | 18 +- deps/lld/Common/CMakeLists.txt | 1 + deps/lld/Common/ErrorHandler.cpp | 27 +- deps/lld/Common/Strings.cpp | 77 + deps/lld/Common/TargetOptionsCommandFlags.cpp | 8 +- deps/lld/Common/Timer.cpp | 80 + deps/lld/ELF/AArch64ErrataFix.cpp | 14 +- deps/lld/ELF/AArch64ErrataFix.h | 1 - deps/lld/ELF/Arch/AArch64.cpp | 57 +- deps/lld/ELF/Arch/AMDGPU.cpp | 2 + deps/lld/ELF/Arch/ARM.cpp | 41 +- deps/lld/ELF/Arch/Hexagon.cpp | 103 + deps/lld/ELF/Arch/Mips.cpp | 175 +- deps/lld/ELF/Arch/MipsArchTree.cpp | 37 +- deps/lld/ELF/Arch/PPC.cpp | 7 +- deps/lld/ELF/Arch/PPC64.cpp | 423 +- deps/lld/ELF/Arch/SPARCV9.cpp | 12 +- deps/lld/ELF/Arch/X86.cpp | 64 +- deps/lld/ELF/Arch/X86_64.cpp | 110 +- deps/lld/ELF/CMakeLists.txt | 4 +- deps/lld/ELF/CallGraphSort.cpp | 249 + deps/lld/ELF/CallGraphSort.h | 23 + deps/lld/ELF/Config.h | 59 +- deps/lld/ELF/Driver.cpp | 617 +- deps/lld/ELF/Driver.h | 6 +- deps/lld/ELF/DriverUtils.cpp | 55 +- deps/lld/ELF/EhFrame.cpp | 8 +- deps/lld/ELF/Filesystem.cpp | 2 +- deps/lld/ELF/GdbIndex.cpp | 2 +- deps/lld/ELF/GdbIndex.h | 1 - deps/lld/ELF/ICF.cpp | 125 +- deps/lld/ELF/ICF.h | 4 +- deps/lld/ELF/InputFiles.cpp | 658 +- deps/lld/ELF/InputFiles.h | 83 +- deps/lld/ELF/InputSection.cpp | 478 +- deps/lld/ELF/InputSection.h | 65 +- deps/lld/ELF/LTO.cpp | 214 +- deps/lld/ELF/LTO.h | 6 +- deps/lld/ELF/LinkerScript.cpp | 389 +- deps/lld/ELF/LinkerScript.h | 53 +- deps/lld/ELF/MapFile.cpp | 213 +- deps/lld/ELF/MapFile.h | 1 + deps/lld/ELF/MarkLive.cpp | 47 +- deps/lld/ELF/MarkLive.h | 21 + deps/lld/ELF/Options.td | 524 +- deps/lld/ELF/OutputSections.cpp | 81 +- deps/lld/ELF/OutputSections.h | 14 +- deps/lld/ELF/Relocations.cpp | 808 +- deps/lld/ELF/Relocations.h | 21 +- deps/lld/ELF/ScriptLexer.cpp | 10 +- deps/lld/ELF/ScriptParser.cpp | 291 +- deps/lld/ELF/Strings.cpp | 62 - deps/lld/ELF/Strings.h | 75 - deps/lld/ELF/SymbolTable.cpp | 297 +- deps/lld/ELF/SymbolTable.h | 11 +- deps/lld/ELF/Symbols.cpp | 95 +- deps/lld/ELF/Symbols.h | 159 +- deps/lld/ELF/SyntheticSections.cpp | 1535 +- deps/lld/ELF/SyntheticSections.h | 346 +- deps/lld/ELF/Target.cpp | 28 +- deps/lld/ELF/Target.h | 113 +- deps/lld/ELF/Thunks.cpp | 390 +- deps/lld/ELF/Thunks.h | 20 +- deps/lld/ELF/Writer.cpp | 741 +- deps/lld/ELF/Writer.h | 8 +- deps/lld/LICENSE.TXT | 2 +- deps/lld/MinGW/Driver.cpp | 15 +- deps/lld/MinGW/Options.td | 9 + deps/lld/cmake/modules/AddLLD.cmake | 2 +- deps/lld/docs/ReleaseNotes.rst | 84 +- deps/lld/docs/WebAssembly.rst | 2 +- deps/lld/docs/conf.py | 4 +- deps/lld/docs/index.rst | 2 +- deps/lld/docs/ld.lld.1 | 559 + deps/lld/docs/windows_support.rst | 12 +- deps/lld/include/lld/Common/Driver.h | 2 +- deps/lld/include/lld/Common/ErrorHandler.h | 70 +- deps/lld/include/lld/Common/Strings.h | 26 + deps/lld/include/lld/Common/TargetOptionsCommandFlags.h | 1 + deps/lld/include/lld/Common/Timer.h | 59 + deps/lld/include/lld/Common/Version.h | 2 +- deps/lld/include/lld/Core/DefinedAtom.h | 44 +- deps/lld/include/lld/Core/File.h | 24 +- deps/lld/include/lld/Core/Instrumentation.h | 14 +- deps/lld/include/lld/Core/LinkingContext.h | 9 +- deps/lld/include/lld/Core/PassManager.h | 4 +- deps/lld/include/lld/Core/Reader.h | 6 +- deps/lld/include/lld/Core/Resolver.h | 6 +- deps/lld/include/lld/Core/Simple.h | 2 +- deps/lld/include/lld/Core/SymbolTable.h | 22 +- deps/lld/include/lld/Core/TODO.txt | 3 - deps/lld/include/lld/Core/Writer.h | 6 +- deps/lld/include/lld/ReaderWriter/MachOLinkingContext.h | 28 +- deps/lld/lib/Core/LinkingContext.cpp | 4 +- deps/lld/lib/Driver/CMakeLists.txt | 1 + deps/lld/lib/Driver/DarwinLdDriver.cpp | 312 +- deps/lld/lib/Driver/DarwinLdOptions.td | 8 + deps/lld/lib/ReaderWriter/FileArchive.cpp | 6 +- deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp | 4 +- deps/lld/lib/ReaderWriter/MachO/CMakeLists.txt | 1 + deps/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp | 43 +- deps/lld/lib/ReaderWriter/MachO/LayoutPass.cpp | 31 +- deps/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 14 +- deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h | 9 +- deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp | 6 +- deps/lld/test/CMakeLists.txt | 12 +- deps/lld/test/COFF/Inputs/associative-comdat-mingw-2.s | 34 + deps/lld/test/COFF/Inputs/common-replacement.s | 5 + deps/lld/test/COFF/Inputs/far-arm64-abs.s | 6 + deps/lld/test/COFF/Inputs/generic.yaml | 282 + deps/lld/test/COFF/Inputs/globals-dia-func-collision3.obj | Bin 0 -> 5392 bytes deps/lld/test/COFF/Inputs/globals-dia-vfunc-collision.obj | Bin 0 -> 8794 bytes deps/lld/test/COFF/Inputs/globals-dia-vfunc-collision2.obj | Bin 0 -> 3660 bytes deps/lld/test/COFF/Inputs/globals-dia-vfunc-simple.obj | Bin 0 -> 4575 bytes deps/lld/test/COFF/Inputs/guardcf-align-foobar.yaml | 51 + deps/lld/test/COFF/Inputs/loadconfig-cfg-x64.s | 11 + deps/lld/test/COFF/Inputs/natvis-1.natvis | 1 + deps/lld/test/COFF/Inputs/natvis-2.natvis | 1 + deps/lld/test/COFF/Inputs/natvis-3.natvis | 1 + deps/lld/test/COFF/Inputs/order.yaml | 76 + deps/lld/test/COFF/Inputs/otherFunc.s | 7 + deps/lld/test/COFF/Inputs/pdb-file-statics-a.yaml | 1866 + deps/lld/test/COFF/Inputs/pdb-file-statics-b.yaml | 1552 + deps/lld/test/COFF/Inputs/pdb-globals.yaml | 10 - deps/lld/test/COFF/Inputs/pdb-hashes-1.yaml | 224 +- deps/lld/test/COFF/Inputs/pdb-hashes-2-missing.yaml | 104 +- deps/lld/test/COFF/Inputs/pdb-hashes-2.yaml | 146 +- deps/lld/test/COFF/Inputs/pdb-scopes-a.yaml | 8 +- deps/lld/test/COFF/Inputs/pdb-scopes-b.yaml | 6 +- deps/lld/test/COFF/Inputs/pdb-type-server-simple-a.yaml | 2 +- deps/lld/test/COFF/Inputs/pdb-type-server-simple-b.yaml | 2 +- deps/lld/test/COFF/Inputs/pdb_lines_1_relative.yaml | 401 + deps/lld/test/COFF/Inputs/pdb_lines_2_relative.yaml | 190 + deps/lld/test/COFF/arm64-branch-range.test | 16 + deps/lld/test/COFF/arm64-relocs-imports.test | 113 +- deps/lld/test/COFF/armnt-movt32t.test | 2 +- deps/lld/test/COFF/associative-comdat-mingw.s | 73 + deps/lld/test/COFF/associative-comdat.s | 10 +- deps/lld/test/COFF/baserel.test | 16 +- deps/lld/test/COFF/combined-resources.test | 218 +- deps/lld/test/COFF/common-alignment.test | 20 +- deps/lld/test/COFF/common-replacement.s | 35 + deps/lld/test/COFF/common.test | 26 +- deps/lld/test/COFF/crt-chars.test | 32 + deps/lld/test/COFF/ctors_dtors_priority.s | 8 +- deps/lld/test/COFF/debug-reloc.s | 58 + deps/lld/test/COFF/def-export-stdcall.s | 39 +- deps/lld/test/COFF/default-alignment.test | 21 + deps/lld/test/COFF/delayimports-armnt.yaml | 34 +- deps/lld/test/COFF/delayimports.test | 18 +- deps/lld/test/COFF/delayimports32.test | 60 +- deps/lld/test/COFF/dll.test | 3 +- deps/lld/test/COFF/dllexport-mingw.s | 2 +- deps/lld/test/COFF/dllexport.s | 58 + deps/lld/test/COFF/driver.test | 11 + deps/lld/test/COFF/duplicate.test | 1 + deps/lld/test/COFF/entry-inference3.test | 39 + deps/lld/test/COFF/entry-inference332.test | 39 + deps/lld/test/COFF/entry-inference4.test | 56 + deps/lld/test/COFF/error-limit.test | 14 +- deps/lld/test/COFF/export-all.s | 2 +- deps/lld/test/COFF/export-armnt.yaml | 8 +- deps/lld/test/COFF/export.test | 4 + deps/lld/test/COFF/export32.test | 10 + deps/lld/test/COFF/filename-casing.s | 6 +- deps/lld/test/COFF/fixed.test | 24 + deps/lld/test/COFF/force.test | 6 +- deps/lld/test/COFF/gfids-corrupt.s | 84 + deps/lld/test/COFF/gfids-fallback.s | 97 + deps/lld/test/COFF/gfids-gc.s | 131 + deps/lld/test/COFF/gfids-icf.s | 88 + deps/lld/test/COFF/guard-longjmp.s | 104 + deps/lld/test/COFF/guardcf-align.s | 46 + deps/lld/test/COFF/guardcf-lto.ll | 40 + deps/lld/test/COFF/hello32.test | 28 +- deps/lld/test/COFF/icf-different-align.test | 13 +- deps/lld/test/COFF/icf-executable.s | 1 + deps/lld/test/COFF/icf-pdata.s | 98 + deps/lld/test/COFF/icf-simple.test | 5 + deps/lld/test/COFF/icf-vtables.s | 28 + deps/lld/test/COFF/icf-xdata.s | 23 +- deps/lld/test/COFF/implib-name.test | 1 + deps/lld/test/COFF/imports.test | 8 +- deps/lld/test/COFF/incremental.test | 100 + deps/lld/test/COFF/invalid-section-number.test | 34 + deps/lld/test/COFF/largeaddressaware.test | 2 +- deps/lld/test/COFF/loadcfg.ll | 3 +- deps/lld/test/COFF/loadcfg.test | 2 +- deps/lld/test/COFF/loadcfg32.test | 2 +- deps/lld/test/COFF/lto-chkstk.ll | 1 + deps/lld/test/COFF/lto-comdat.ll | 16 +- deps/lld/test/COFF/lto-icf.ll | 27 + deps/lld/test/COFF/lto-lazy-reference.ll | 1 + deps/lld/test/COFF/lto-linker-opts.ll | 1 + deps/lld/test/COFF/lto-new-symbol.ll | 1 + deps/lld/test/COFF/lto-opt-level.ll | 1 + deps/lld/test/COFF/lto-parallel.ll | 5 +- deps/lld/test/COFF/lto-reloc-model.ll | 1 + deps/lld/test/COFF/lto.ll | 5 +- deps/lld/test/COFF/manifestinput-error.test | 2 +- deps/lld/test/COFF/manifestinput.test | 4 +- deps/lld/test/COFF/merge.test | 26 + deps/lld/test/COFF/nodefaultlib.test | 3 +- deps/lld/test/COFF/opt.test | 24 +- deps/lld/test/COFF/options.test | 14 + deps/lld/test/COFF/order-i386.test | 69 + deps/lld/test/COFF/order.test | 136 +- deps/lld/test/COFF/output-chars.test | 109 + deps/lld/test/COFF/pdata-arm64.yaml | 2 +- deps/lld/test/COFF/pdb-comdat.test | 10 +- deps/lld/test/COFF/pdb-diff.test | 215 - deps/lld/test/COFF/pdb-exe-path-dots.test | 10 + deps/lld/test/COFF/pdb-file-static.test | 51 + deps/lld/test/COFF/pdb-global-gc.yaml | 1 + deps/lld/test/COFF/pdb-global-hashes.test | 2 +- deps/lld/test/COFF/pdb-globals-dia-func-collision3.test | 81 + deps/lld/test/COFF/pdb-globals-dia-vfunc-collision.test | 42 + deps/lld/test/COFF/pdb-globals-dia-vfunc-collision2.test | 25 + deps/lld/test/COFF/pdb-globals-dia-vfunc-simple.test | 26 + deps/lld/test/COFF/pdb-globals.test | 12 +- deps/lld/test/COFF/pdb-heapsite.yaml | 2 +- deps/lld/test/COFF/pdb-lib.s | 6 +- deps/lld/test/COFF/pdb-linker-module.test | 5 +- deps/lld/test/COFF/pdb-natvis.test | 26 + deps/lld/test/COFF/pdb-procid-remapping.test | 4 +- deps/lld/test/COFF/pdb-publics-import.test | 9 +- deps/lld/test/COFF/pdb-relative-source-lines.test | 45 + deps/lld/test/COFF/pdb-same-name.test | 4 +- deps/lld/test/COFF/pdb-scopes.test | 14 +- deps/lld/test/COFF/pdb-source-lines.test | 26 +- deps/lld/test/COFF/pdb-symbol-types.yaml | 4 +- deps/lld/test/COFF/pdb-thunk.yaml | 12 +- deps/lld/test/COFF/pdb-type-server-simple.test | 6 +- deps/lld/test/COFF/pdb.test | 162 +- deps/lld/test/COFF/pending-comdat.s | 21 + deps/lld/test/COFF/reloc-arm.test | 16 +- deps/lld/test/COFF/reloc-discarded-dwarf.s | 1 + deps/lld/test/COFF/reloc-discarded-early.s | 1 + deps/lld/test/COFF/reloc-discarded-early2.s | 1 + deps/lld/test/COFF/reloc-discarded.s | 1 + deps/lld/test/COFF/reloc-x64.test | 1 + deps/lld/test/COFF/reloc-x86.test | 1 + deps/lld/test/COFF/resource.test | 14 +- deps/lld/test/COFF/rsds.test | 16 +- deps/lld/test/COFF/safeseh-md.s | 1 + deps/lld/test/COFF/safeseh-notable.s | 44 + deps/lld/test/COFF/safeseh.s | 19 +- deps/lld/test/COFF/secidx-absolute.s | 11 +- deps/lld/test/COFF/secrel-absolute.s | 1 + deps/lld/test/COFF/secrel-common.s | 23 +- deps/lld/test/COFF/section-order.test | 15 + deps/lld/test/COFF/section-size.s | 2 +- deps/lld/test/COFF/section.test | 4 + deps/lld/test/COFF/sort-debug.test | 15 +- deps/lld/test/COFF/string-tail-merge.s | 106 + deps/lld/test/COFF/subsystem-inference32.test | 74 + deps/lld/test/COFF/symtab-gc.s | 27 + deps/lld/test/COFF/symtab.test | 18 +- deps/lld/test/COFF/thunk-replace.s | 15 + deps/lld/test/COFF/timestamp.test | 18 + deps/lld/test/COFF/undefined-symbol-cv.s | 62 + deps/lld/test/COFF/undefined-symbol.s | 30 + deps/lld/test/COFF/unwind.test | 42 +- deps/lld/test/COFF/weak-external.test | 2 + deps/lld/test/COFF/weak-external2.test | 1 + deps/lld/test/COFF/weak-external3.test | 2 + deps/lld/test/COFF/wholearchive.s | 10 +- deps/lld/test/ELF/Inputs/amdgpu-kernel-2.o | Bin 408 -> 0 bytes deps/lld/test/ELF/Inputs/arm-long-thunk-converge.lds | 4 + deps/lld/test/ELF/Inputs/arm-vfp-arg-base.s | 16 + deps/lld/test/ELF/Inputs/arm-vfp-arg-compat.s | 16 + deps/lld/test/ELF/Inputs/arm-vfp-arg-toolchain.s | 15 + deps/lld/test/ELF/Inputs/arm-vfp-arg-vfp.s | 15 + deps/lld/test/ELF/Inputs/comdat-discarded-reloc.s | 6 + deps/lld/test/ELF/Inputs/conflict-debug.s | 21 + deps/lld/test/ELF/Inputs/copy-rel-version.s | 11 + deps/lld/test/ELF/Inputs/copy-relocation-zero-abs-addr.s | 7 + deps/lld/test/ELF/Inputs/copy-relocation-zero-nonabs-addr.s | 7 + deps/lld/test/ELF/Inputs/copy-relocation-zero-nonabs-addr.script | 3 + deps/lld/test/ELF/Inputs/eh-frame-pcrel-overflow.s | 25 + deps/lld/test/ELF/Inputs/exclude-libs.ll | 3 + deps/lld/test/ELF/Inputs/exclude-libs.s | 2 + deps/lld/test/ELF/Inputs/far-long-arm-abs.s | 13 + deps/lld/test/ELF/Inputs/gdb-index.s | 8 +- deps/lld/test/ELF/Inputs/hexagon.s | 6 + deps/lld/test/ELF/Inputs/hidden-shared-err.s | 2 + deps/lld/test/ELF/Inputs/hidden-shared-err2.s | 1 + deps/lld/test/ELF/Inputs/i386-pic-plt.s | 4 + deps/lld/test/ELF/Inputs/icf-absolute2.s | 3 + deps/lld/test/ELF/Inputs/icf-safe.s | 9 + deps/lld/test/ELF/Inputs/map-file2.s | 2 + deps/lld/test/ELF/Inputs/mips-64-got-load.s | 8 + deps/lld/test/ELF/Inputs/mips-mgot-1.s | 10 + deps/lld/test/ELF/Inputs/mips-mgot-2.s | 17 + deps/lld/test/ELF/Inputs/mips-micro-gp0-non-zero.o | Bin 0 -> 1344 bytes deps/lld/test/ELF/Inputs/mips-n32-rels.o | Bin 1092 -> 0 bytes deps/lld/test/ELF/Inputs/mips-n64-gp0-non-zero.o | Bin 0 -> 1128 bytes deps/lld/test/ELF/Inputs/multiple-cu.s | 24 + deps/lld/test/ELF/Inputs/ppc64-func-global-entry.s | 35 + deps/lld/test/ELF/Inputs/ppc64-func-local-entry.s | 16 + deps/lld/test/ELF/Inputs/ppc64-func.s | 14 + deps/lld/test/ELF/Inputs/ppc64-tls.s | 20 + deps/lld/test/ELF/Inputs/print-icf.s | 9 + deps/lld/test/ELF/Inputs/protected-data-access.s | 7 + deps/lld/test/ELF/Inputs/protected-function-access.s | 5 + deps/lld/test/ELF/Inputs/shared-ppc64.s | 21 +- deps/lld/test/ELF/Inputs/symbol-ordering-file-warnings1.s | 19 + deps/lld/test/ELF/Inputs/symbol-ordering-file-warnings2.s | 6 + deps/lld/test/ELF/Inputs/undef-bad-debug.s | 134 + deps/lld/test/ELF/Inputs/undef-debug.s | 21 + deps/lld/test/ELF/Inputs/undef-shared2.s | 2 + deps/lld/test/ELF/Inputs/versiondef.s | 9 + deps/lld/test/ELF/Inputs/weak-and-strong-undef.s | 1 - deps/lld/test/ELF/Inputs/x86-64-split-stack-main.s | 16 + deps/lld/test/ELF/Inputs/ztext-text-notext.s | 10 - deps/lld/test/ELF/Inputs/ztext.s | 10 + deps/lld/test/ELF/aarch64-call26-thunk.s | 2 +- deps/lld/test/ELF/aarch64-condb-reloc.s | 2 +- deps/lld/test/ELF/aarch64-copy.s | 4 +- deps/lld/test/ELF/aarch64-cortex-a53-843419-address.s | 3 +- deps/lld/test/ELF/aarch64-cortex-a53-843419-cli.s | 2 +- deps/lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s | 2 +- deps/lld/test/ELF/aarch64-cortex-a53-843419-recognize.s | 205 +- deps/lld/test/ELF/aarch64-cortex-a53-843419-thunk.s | 3 +- deps/lld/test/ELF/aarch64-data-relocs.s | 2 +- deps/lld/test/ELF/aarch64-fpic-abs16.s | 4 +- deps/lld/test/ELF/aarch64-fpic-add_abs_lo12_nc.s | 4 +- deps/lld/test/ELF/aarch64-fpic-adr_prel_lo21.s | 4 +- deps/lld/test/ELF/aarch64-fpic-adr_prel_pg_hi21.s | 4 +- deps/lld/test/ELF/aarch64-fpic-ldst32_abs_lo12_nc.s | 4 +- deps/lld/test/ELF/aarch64-fpic-ldst64_abs_lo12_nc.s | 4 +- deps/lld/test/ELF/aarch64-fpic-ldst8_abs_lo12_nc.s | 4 +- deps/lld/test/ELF/aarch64-fpic-prel16.s | 4 +- deps/lld/test/ELF/aarch64-fpic-prel32.s | 4 +- deps/lld/test/ELF/aarch64-fpic-prel64.s | 4 +- deps/lld/test/ELF/aarch64-gnu-ifunc-nosym.s | 2 +- deps/lld/test/ELF/aarch64-gnu-ifunc-plt.s | 2 +- deps/lld/test/ELF/aarch64-gnu-ifunc.s | 2 +- deps/lld/test/ELF/aarch64-hi21-error.s | 4 +- deps/lld/test/ELF/aarch64-jump26-thunk.s | 2 +- deps/lld/test/ELF/aarch64-ldprel-lo19-invalid.s | 2 +- deps/lld/test/ELF/aarch64-lo12-alignment.s | 2 +- deps/lld/test/ELF/aarch64-lo21-error.s | 4 +- deps/lld/test/ELF/aarch64-load-alignment.s | 2 +- deps/lld/test/ELF/aarch64-relocs.s | 2 +- deps/lld/test/ELF/aarch64-thunk-pi.s | 58 +- deps/lld/test/ELF/aarch64-thunk-script.s | 2 +- deps/lld/test/ELF/aarch64-thunk-section-location.s | 2 +- deps/lld/test/ELF/aarch64-tls-gdle.s | 2 +- deps/lld/test/ELF/aarch64-tls-ie.s | 2 +- deps/lld/test/ELF/aarch64-tls-iele.s | 2 +- deps/lld/test/ELF/aarch64-tls-le.s | 2 +- deps/lld/test/ELF/aarch64-tlsld-ldst.s | 85 + deps/lld/test/ELF/aarch64-tstbr14-reloc.s | 2 +- deps/lld/test/ELF/aarch64-undefined-weak.s | 2 +- deps/lld/test/ELF/abs-conflict.s | 2 +- deps/lld/test/ELF/allow-multiple-definition.s | 9 +- deps/lld/test/ELF/amdgpu-elf-flags-err.s | 9 +- deps/lld/test/ELF/amdgpu-elf-flags.s | 7 +- deps/lld/test/ELF/amdgpu-globals.s | 3 +- deps/lld/test/ELF/amdgpu-kernels.s | 3 +- deps/lld/test/ELF/amdgpu-relocs.s | 15 +- deps/lld/test/ELF/archive.s | 25 +- deps/lld/test/ELF/arm-attributes.s | 2 +- deps/lld/test/ELF/arm-bl-v6.s | 4 +- deps/lld/test/ELF/arm-blx-v4t.s | 4 +- deps/lld/test/ELF/arm-blx.s | 2 +- deps/lld/test/ELF/arm-branch-rangethunk.s | 53 +- deps/lld/test/ELF/arm-branch-undef-weak-plt-thunk.s | 2 +- deps/lld/test/ELF/arm-branch.s | 2 +- deps/lld/test/ELF/arm-copy.s | 6 +- deps/lld/test/ELF/arm-data-prel.s | 2 +- deps/lld/test/ELF/arm-data-relocs.s | 2 +- deps/lld/test/ELF/arm-eabi-version.s | 3 +- deps/lld/test/ELF/arm-execute-only.s | 40 + deps/lld/test/ELF/arm-exidx-canunwind.s | 2 +- deps/lld/test/ELF/arm-exidx-dedup.s | 2 +- deps/lld/test/ELF/arm-exidx-discard.s | 14 + deps/lld/test/ELF/arm-exidx-gc.s | 2 +- deps/lld/test/ELF/arm-exidx-order.s | 38 +- deps/lld/test/ELF/arm-exidx-output.s | 2 +- deps/lld/test/ELF/arm-exidx-relocatable.s | 2 +- deps/lld/test/ELF/arm-exidx-sentinel-norelocatable.s | 2 +- deps/lld/test/ELF/arm-exidx-sentinel-orphan.s | 4 +- deps/lld/test/ELF/arm-exidx-shared.s | 8 +- deps/lld/test/ELF/arm-gnu-ifunc-nosym.s | 2 +- deps/lld/test/ELF/arm-gnu-ifunc-plt.s | 2 +- deps/lld/test/ELF/arm-gnu-ifunc.s | 2 +- deps/lld/test/ELF/arm-gotoff.s | 2 +- deps/lld/test/ELF/arm-long-thunk-converge.s | 29 + deps/lld/test/ELF/arm-mov-relocs.s | 2 +- deps/lld/test/ELF/arm-pie-relative.s | 2 +- deps/lld/test/ELF/arm-plt-reloc.s | 10 +- deps/lld/test/ELF/arm-sbrel32.s | 2 +- deps/lld/test/ELF/arm-static-defines.s | 2 +- deps/lld/test/ELF/arm-symbol-ordering-file.s | 32 + deps/lld/test/ELF/arm-tag-vfp-args-errs.s | 29 + deps/lld/test/ELF/arm-tag-vfp-args-illegal.s | 21 + deps/lld/test/ELF/arm-tag-vfp-args.s | 72 + deps/lld/test/ELF/arm-target1.s | 2 +- deps/lld/test/ELF/arm-target2.s | 14 +- deps/lld/test/ELF/arm-thumb-blx.s | 2 +- deps/lld/test/ELF/arm-thumb-branch-rangethunk.s | 2 +- deps/lld/test/ELF/arm-thumb-branch.s | 2 +- deps/lld/test/ELF/arm-thumb-condbranch-thunk.s | 24 +- deps/lld/test/ELF/arm-thumb-interwork-shared.s | 2 +- deps/lld/test/ELF/arm-thumb-interwork-thunk-range.s | 2 +- deps/lld/test/ELF/arm-thumb-interwork-thunk.s | 20 +- deps/lld/test/ELF/arm-thumb-mix-range-thunk-os.s | 22 +- deps/lld/test/ELF/arm-thumb-narrow-branch-check.s | 2 +- deps/lld/test/ELF/arm-thumb-no-undefined-thunk.s | 2 +- deps/lld/test/ELF/arm-thumb-plt-range-thunk-os.s | 110 +- deps/lld/test/ELF/arm-thumb-plt-reloc.s | 2 +- deps/lld/test/ELF/arm-thumb-range-thunk-os.s | 62 +- deps/lld/test/ELF/arm-thumb-thunk-empty-pass.s | 14 +- deps/lld/test/ELF/arm-thumb-thunk-symbols.s | 2 +- deps/lld/test/ELF/arm-thumb-undefined-weak.s | 2 +- deps/lld/test/ELF/arm-thunk-largesection.s | 22 +- deps/lld/test/ELF/arm-thunk-linkerscript-dotexpr.s | 2 +- deps/lld/test/ELF/arm-thunk-linkerscript-large.s | 4 +- deps/lld/test/ELF/arm-thunk-linkerscript-sort.s | 4 +- deps/lld/test/ELF/arm-thunk-linkerscript.s | 2 +- deps/lld/test/ELF/arm-thunk-multipass.s | 20 +- deps/lld/test/ELF/arm-thunk-nosuitable.s | 33 + deps/lld/test/ELF/arm-thunk-section-too-large.s | 21 + deps/lld/test/ELF/arm-thunk-toolargesection.s | 4 +- deps/lld/test/ELF/arm-tls-gd-nonpreemptible.s | 2 +- deps/lld/test/ELF/arm-tls-gd32.s | 2 +- deps/lld/test/ELF/arm-tls-ie32.s | 2 +- deps/lld/test/ELF/arm-tls-ldm32.s | 2 +- deps/lld/test/ELF/arm-tls-le32.s | 2 +- deps/lld/test/ELF/arm-tls-norelax-gd-ie.s | 2 +- deps/lld/test/ELF/arm-tls-norelax-gd-le.s | 2 +- deps/lld/test/ELF/arm-tls-norelax-ie-le.s | 2 +- deps/lld/test/ELF/arm-tls-norelax-ld-le.s | 2 +- deps/lld/test/ELF/arm-undefined-weak.s | 2 +- deps/lld/test/ELF/arm-use-r-output.s | 2 +- deps/lld/test/ELF/as-needed-weak.s | 22 + deps/lld/test/ELF/as-needed.s | 2 +- deps/lld/test/ELF/auxiliary.s | 2 + deps/lld/test/ELF/basic-aarch64.s | 2 +- deps/lld/test/ELF/basic-freebsd.s | 2 +- deps/lld/test/ELF/basic-mips.s | 5 +- deps/lld/test/ELF/basic-ppc.s | 12 +- deps/lld/test/ELF/basic-ppc64.s | 323 + deps/lld/test/ELF/basic-sparcv9.s | 2 +- deps/lld/test/ELF/basic32.s | 2 +- deps/lld/test/ELF/basic64be.s | 273 +- deps/lld/test/ELF/bss.s | 2 +- deps/lld/test/ELF/bsymbolic-undef.s | 1 + deps/lld/test/ELF/bsymbolic.s | 1 + deps/lld/test/ELF/build-id.s | 2 + deps/lld/test/ELF/cgprofile-bad-clusters.s | 70 + deps/lld/test/ELF/cgprofile-err.s | 13 + deps/lld/test/ELF/cgprofile-icf.s | 53 + deps/lld/test/ELF/cgprofile-txt.s | 185 + deps/lld/test/ELF/cgprofile-warn.s | 36 + deps/lld/test/ELF/color-diagnostics.test | 3 + deps/lld/test/ELF/combrelocs.s | 3 + deps/lld/test/ELF/comdat-discarded-reloc.s | 17 + deps/lld/test/ELF/comdat-linkonce.s | 1 + deps/lld/test/ELF/comdat.s | 10 +- deps/lld/test/ELF/common.s | 2 +- deps/lld/test/ELF/compatible-section-types.s | 1 + deps/lld/test/ELF/compressed-debug-conflict.s | 33 +- deps/lld/test/ELF/compressed-debug-input-err.s | 11 + deps/lld/test/ELF/conflict-debug-variable-file-index.s | 103 + deps/lld/test/ELF/conflict-debug-variable.s | 36 +- deps/lld/test/ELF/conflict-debug-variable2.s | 3 +- deps/lld/test/ELF/conflict-variable-linkage-name.s | 176 + deps/lld/test/ELF/conflict.s | 2 +- deps/lld/test/ELF/copy-errors.s | 15 +- deps/lld/test/ELF/copy-in-shared.s | 4 +- deps/lld/test/ELF/copy-rel-corrupted.s | 5 +- deps/lld/test/ELF/copy-rel-pie-error.s | 7 +- deps/lld/test/ELF/copy-rel-pie.s | 7 +- deps/lld/test/ELF/copy-rel-version.s | 15 + deps/lld/test/ELF/copy-relocation-zero-abs-addr.s | 44 + deps/lld/test/ELF/copy-relocation-zero-nonabs-addr.s | 29 + deps/lld/test/ELF/corrupted-version-reference.s | 4 +- deps/lld/test/ELF/cref.s | 33 + deps/lld/test/ELF/ctors_dtors_priority.s | 2 +- deps/lld/test/ELF/defined-tls_get_addr.s | 3 +- deps/lld/test/ELF/defsym-reserved-syms.s | 30 + deps/lld/test/ELF/discard-locals.s | 2 +- deps/lld/test/ELF/discard-merge-locals.s | 2 +- deps/lld/test/ELF/discard-none.s | 2 +- deps/lld/test/ELF/dont-export-hidden.s | 1 + deps/lld/test/ELF/driver.test | 30 +- deps/lld/test/ELF/dt_flags.s | 15 +- deps/lld/test/ELF/duplicated-synthetic-sym.s | 22 +- deps/lld/test/ELF/dynamic-got-rela.s | 57 +- deps/lld/test/ELF/dynamic-got.s | 27 +- deps/lld/test/ELF/dynamic-linker.s | 24 + deps/lld/test/ELF/dynamic-list-archive.s | 17 + deps/lld/test/ELF/dynamic-list-extern.s | 12 +- deps/lld/test/ELF/dynamic-no-rosegment.s | 4 +- deps/lld/test/ELF/dynamic-reloc-in-ro.s | 4 +- deps/lld/test/ELF/dynamic-reloc-index.s | 1 + deps/lld/test/ELF/dynamic-reloc-weak.s | 2 +- deps/lld/test/ELF/dynamic-reloc.s | 2 +- deps/lld/test/ELF/dynstr-no-rosegment.s | 2 +- deps/lld/test/ELF/edata-etext.s | 8 +- deps/lld/test/ELF/eh-frame-dyn-rel.s | 4 +- deps/lld/test/ELF/eh-frame-hdr-abs-fde.s | 3 +- deps/lld/test/ELF/eh-frame-hdr-augmentation.s | 2 + deps/lld/test/ELF/eh-frame-hdr-icf-fde.s | 4 +- deps/lld/test/ELF/eh-frame-hdr.s | 7 +- deps/lld/test/ELF/eh-frame-marker.s | 1 + deps/lld/test/ELF/eh-frame-merge.s | 3 +- deps/lld/test/ELF/eh-frame-multilpe-cie.s | 3 +- deps/lld/test/ELF/eh-frame-negative-pcrel-sdata2.s | 85 + deps/lld/test/ELF/eh-frame-negative-pcrel-sdata4.s | 85 + deps/lld/test/ELF/eh-frame-negative-pcrel-sdata8.s | 85 + deps/lld/test/ELF/eh-frame-padding-no-rosegment.s | 8 +- deps/lld/test/ELF/eh-frame-pcrel-overflow.s | 33 + deps/lld/test/ELF/eh-frame-rel.s | 2 +- deps/lld/test/ELF/eh-frame-value-format1.s | 35 + deps/lld/test/ELF/eh-frame-value-format2.s | 35 + deps/lld/test/ELF/eh-frame-value-format3.s | 28 + deps/lld/test/ELF/eh-frame-value-format4.s | 28 + deps/lld/test/ELF/eh-frame-value-format5.s | 35 + deps/lld/test/ELF/eh-frame-value-format6.s | 35 + deps/lld/test/ELF/eh-frame-value-format7.s | 75 + deps/lld/test/ELF/eh-frame-value-format8.s | 74 + deps/lld/test/ELF/eh-frame-value-format9.s | 28 + deps/lld/test/ELF/ehframe-relocation.s | 2 +- deps/lld/test/ELF/elf-header.s | 18 + deps/lld/test/ELF/emit-relocs-eh-frame.s | 16 + deps/lld/test/ELF/emit-relocs-gc.s | 4 +- deps/lld/test/ELF/emit-relocs-icf.s | 33 + deps/lld/test/ELF/emit-relocs-shared.s | 4 +- deps/lld/test/ELF/emit-relocs.s | 2 +- deps/lld/test/ELF/empty-archive.s | 3 +- deps/lld/test/ELF/empty-ver2.s | 20 + deps/lld/test/ELF/emulation.s | 48 +- deps/lld/test/ELF/end-preserve.s | 2 +- deps/lld/test/ELF/end-update.s | 2 +- deps/lld/test/ELF/end.s | 2 +- deps/lld/test/ELF/entry.s | 1 + deps/lld/test/ELF/exclude-libs.s | 13 +- deps/lld/test/ELF/executable-undefined-protected-ignoreall.s | 2 +- deps/lld/test/ELF/execute-only-mixed-data.s | 26 + deps/lld/test/ELF/execute-only.s | 10 + deps/lld/test/ELF/export-dynamic-symbol.s | 18 + deps/lld/test/ELF/fatal-warnings.s | 4 +- deps/lld/test/ELF/file-sym.s | 12 - deps/lld/test/ELF/fill-trap-ppc.s | 31 + deps/lld/test/ELF/filter.s | 3 +- deps/lld/test/ELF/format-binary-non-ascii.s | 6 +- deps/lld/test/ELF/gc-absolute.s | 2 +- deps/lld/test/ELF/gc-debuginfo-tls.s | 1 + deps/lld/test/ELF/gc-merge-local-sym.s | 3 +- deps/lld/test/ELF/gc-sections-local-sym.s | 2 +- deps/lld/test/ELF/gc-sections-merge-addend.s | 1 + deps/lld/test/ELF/gc-sections-merge-implicit-addend.s | 1 + deps/lld/test/ELF/gc-sections-merge.s | 1 + deps/lld/test/ELF/gc-sections-metadata-startstop.s | 2 +- deps/lld/test/ELF/gc-sections-no-undef-error.s | 19 + deps/lld/test/ELF/gc-sections-print.s | 4 +- deps/lld/test/ELF/gc-sections-protected.s | 1 + deps/lld/test/ELF/gc-sections-shared.s | 80 +- deps/lld/test/ELF/gdb-index-dup-types.s | 60 - deps/lld/test/ELF/gdb-index-noranges.s | 2 +- deps/lld/test/ELF/gdb-index-tls.s | 2 +- deps/lld/test/ELF/gdb-index.s | 56 +- deps/lld/test/ELF/global-offset-table-position-aarch64.s | 6 +- deps/lld/test/ELF/global-offset-table-position-arm.s | 2 +- deps/lld/test/ELF/global-offset-table-position-i386.s | 9 +- deps/lld/test/ELF/global-offset-table-position-mips.s | 3 +- deps/lld/test/ELF/global-offset-table-position.s | 9 +- deps/lld/test/ELF/global_offset_table.s | 3 +- deps/lld/test/ELF/global_offset_table_shared.s | 5 +- deps/lld/test/ELF/gnu-hash-table.s | 24 +- deps/lld/test/ELF/gnu-ifunc-dynsym.s | 6 +- deps/lld/test/ELF/gnu-ifunc-i386.s | 2 +- deps/lld/test/ELF/gnu-ifunc-nosym-i386.s | 2 +- deps/lld/test/ELF/gnu-ifunc-nosym.s | 2 +- deps/lld/test/ELF/gnu-ifunc-plt-i386.s | 10 +- deps/lld/test/ELF/gnu-ifunc-plt.s | 2 +- deps/lld/test/ELF/gnu-ifunc-relative.s | 2 +- deps/lld/test/ELF/gnu-ifunc.s | 2 +- deps/lld/test/ELF/gnu-unique.s | 2 + deps/lld/test/ELF/gnustack.s | 5 + deps/lld/test/ELF/got-aarch64.s | 2 +- deps/lld/test/ELF/got-i386.s | 2 +- deps/lld/test/ELF/got-plt-header.s | 1 + deps/lld/test/ELF/got.s | 2 +- deps/lld/test/ELF/got32-i386-pie-rw.s | 4 +- deps/lld/test/ELF/got32-i386.s | 2 +- deps/lld/test/ELF/got32x-i386.s | 10 +- deps/lld/test/ELF/gotpcrelx.s | 1 + deps/lld/test/ELF/help.s | 4 +- deps/lld/test/ELF/hexagon.s | 31 + deps/lld/test/ELF/hidden-shared-err.s | 19 + deps/lld/test/ELF/i386-debug-noabs.test | 2 +- deps/lld/test/ELF/i386-got-and-copy.s | 1 + deps/lld/test/ELF/i386-got-value.s | 1 + deps/lld/test/ELF/i386-gotpc.s | 14 +- deps/lld/test/ELF/i386-merge.s | 7 +- deps/lld/test/ELF/i386-pic-plt.s | 12 + deps/lld/test/ELF/i386-reloc-16-large-addend.s | 12 + deps/lld/test/ELF/i386-reloc-16.s | 7 +- deps/lld/test/ELF/i386-reloc-8-large-addend.s | 12 + deps/lld/test/ELF/i386-reloc-8.s | 7 +- deps/lld/test/ELF/i386-reloc-range.s | 2 +- deps/lld/test/ELF/i386-retpoline-nopic-linkerscript.s | 67 + deps/lld/test/ELF/i386-retpoline-pic-linkerscript.s | 64 + deps/lld/test/ELF/i386-tls-got.s | 2 +- deps/lld/test/ELF/i386-tls-ie-shared.s | 1 + deps/lld/test/ELF/icf-absolute.s | 6 +- deps/lld/test/ELF/icf-absolute2.s | 21 + deps/lld/test/ELF/icf-c-identifier.s | 9 + deps/lld/test/ELF/icf-comdat.s | 6 +- deps/lld/test/ELF/icf-different-output-sections.s | 9 + deps/lld/test/ELF/icf-i386.s | 8 +- deps/lld/test/ELF/icf-keep-unique.s | 43 + deps/lld/test/ELF/icf-link-order.s | 18 + deps/lld/test/ELF/icf-many-sections.s | 62 + deps/lld/test/ELF/icf-merge-sec.s | 6 +- deps/lld/test/ELF/icf-merge.s | 12 +- deps/lld/test/ELF/icf-merge2.s | 23 + deps/lld/test/ELF/icf-merged-sections.s | 37 + deps/lld/test/ELF/icf-non-mergeable.s | 6 +- deps/lld/test/ELF/icf-none.s | 4 +- deps/lld/test/ELF/icf-relro.s | 13 + deps/lld/test/ELF/icf-safe.s | 182 + deps/lld/test/ELF/icf1.s | 6 +- deps/lld/test/ELF/icf10.test | 40 + deps/lld/test/ELF/icf11.test | 52 + deps/lld/test/ELF/icf12.s | 20 + deps/lld/test/ELF/icf13.s | 21 + deps/lld/test/ELF/icf14.s | 26 + deps/lld/test/ELF/icf15.s | 24 + deps/lld/test/ELF/icf16.s | 24 + deps/lld/test/ELF/icf17.s | 16 + deps/lld/test/ELF/icf2.s | 6 +- deps/lld/test/ELF/icf3.s | 6 +- deps/lld/test/ELF/icf4.s | 6 +- deps/lld/test/ELF/icf5.s | 6 +- deps/lld/test/ELF/icf6.s | 6 +- deps/lld/test/ELF/icf7.s | 6 +- deps/lld/test/ELF/icf9.s | 13 +- deps/lld/test/ELF/ignore-plugin.test | 2 + deps/lld/test/ELF/incompatible-ar-first.s | 4 +- deps/lld/test/ELF/incompatible-section-flags.s | 3 +- deps/lld/test/ELF/incompatible-section-types2.s | 3 +- deps/lld/test/ELF/incompatible.s | 4 +- deps/lld/test/ELF/init_fini_priority.s | 2 +- deps/lld/test/ELF/invalid-cie-length.s | 2 +- deps/lld/test/ELF/invalid-cie-length2.s | 2 +- deps/lld/test/ELF/invalid-cie-length3.s | 2 +- deps/lld/test/ELF/invalid-cie-length4.s | 2 +- deps/lld/test/ELF/invalid-cie-length5.s | 2 +- deps/lld/test/ELF/invalid-cie-reference.s | 2 +- deps/lld/test/ELF/invalid-eh-frame.s | 17 + deps/lld/test/ELF/invalid-eh-frame2.s | 22 + deps/lld/test/ELF/invalid-eh-frame3.s | 21 + deps/lld/test/ELF/invalid-eh-frame4.s | 28 + deps/lld/test/ELF/invalid-eh-frame5.s | 28 + deps/lld/test/ELF/invalid-eh-frame6.s | 31 + deps/lld/test/ELF/invalid-eh-frame7.s | 30 + deps/lld/test/ELF/invalid-eh-frame8.s | 30 + deps/lld/test/ELF/invalid-eh-frame9.s | 15 + deps/lld/test/ELF/invalid-fde-rel.s | 2 +- deps/lld/test/ELF/invalid-relocations.test | 2 +- deps/lld/test/ELF/invalid-undef-section-symbol.test | 2 +- deps/lld/test/ELF/invalid-z.s | 9 - deps/lld/test/ELF/invalid/Inputs/cie-version2.elf | Bin 1128 -> 0 bytes deps/lld/test/ELF/invalid/Inputs/too-short.elf | Bin 44 -> 0 bytes deps/lld/test/ELF/invalid/dynamic-section-size.s | 2 +- deps/lld/test/ELF/invalid/eh-frame-hdr-no-out.s | 21 +- deps/lld/test/ELF/invalid/executable.s | 9 + deps/lld/test/ELF/invalid/invalid-e_shnum.s | 2 +- deps/lld/test/ELF/invalid/invalid-elf.test | 1 + deps/lld/test/ELF/invalid/merge-invalid-size.s | 4 +- deps/lld/test/ELF/invalid/mips-invalid-options-descriptor.s | 2 +- deps/lld/test/ELF/invalid/reloc-section-reordered.test | 30 + deps/lld/test/ELF/invalid/section-alignment2.s | 2 +- deps/lld/test/ELF/invalid/sht-group.s | 2 +- deps/lld/test/ELF/invalid/symbol-index.s | 2 +- deps/lld/test/ELF/invalid/symbol-name.s | 2 +- deps/lld/test/ELF/invalid/tls-symbol.s | 2 +- deps/lld/test/ELF/invalid/too-short.s | 5 - deps/lld/test/ELF/just-symbols-cref.s | 20 + deps/lld/test/ELF/just-symbols.s | 20 + deps/lld/test/ELF/libsearch.s | 2 +- deps/lld/test/ELF/linkerscript/Inputs/addr.s | 12 + deps/lld/test/ELF/linkerscript/Inputs/align.s | 13 + deps/lld/test/ELF/linkerscript/Inputs/alignof.s | 15 + deps/lld/test/ELF/linkerscript/Inputs/at2.s | 14 + deps/lld/test/ELF/linkerscript/Inputs/at3.s | 8 + deps/lld/test/ELF/linkerscript/Inputs/at6.s | 11 + deps/lld/test/ELF/linkerscript/Inputs/at7.s | 7 + deps/lld/test/ELF/linkerscript/Inputs/at8.s | 8 + deps/lld/test/ELF/linkerscript/Inputs/data-commands.s | 35 + deps/lld/test/ELF/linkerscript/Inputs/data-segment-relro.s | 11 + deps/lld/test/ELF/linkerscript/Inputs/define.s | 8 + deps/lld/test/ELF/linkerscript/Inputs/eh-frame-reloc-out-of-range.s | 11 + deps/lld/test/ELF/linkerscript/Inputs/extend-pt-load.s | 3 + deps/lld/test/ELF/linkerscript/Inputs/fill.s | 11 + deps/lld/test/ELF/linkerscript/Inputs/implicit-program-header.script | 12 - deps/lld/test/ELF/linkerscript/Inputs/insert-after.s | 11 + deps/lld/test/ELF/linkerscript/Inputs/insert-after.script | 4 + deps/lld/test/ELF/linkerscript/Inputs/map-file2.s | 19 + deps/lld/test/ELF/linkerscript/Inputs/provide-shared2.s | 3 + deps/lld/test/ELF/linkerscript/Inputs/sections-va-overflow.s | 6 + deps/lld/test/ELF/linkerscript/Inputs/synthetic-symbols.s | 16 + deps/lld/test/ELF/linkerscript/absolute-expr.s | 82 - deps/lld/test/ELF/linkerscript/absolute-expr.test | 80 + deps/lld/test/ELF/linkerscript/addr-zero.s | 18 - deps/lld/test/ELF/linkerscript/addr-zero.test | 21 + deps/lld/test/ELF/linkerscript/addr.s | 32 - deps/lld/test/ELF/linkerscript/addr.test | 20 + deps/lld/test/ELF/linkerscript/address-expr-symbols.s | 15 + deps/lld/test/ELF/linkerscript/align-empty.s | 18 - deps/lld/test/ELF/linkerscript/align-empty.test | 22 + deps/lld/test/ELF/linkerscript/align-r.test | 21 + deps/lld/test/ELF/linkerscript/align-section-offset.s | 11 - deps/lld/test/ELF/linkerscript/align-section-offset.test | 12 + deps/lld/test/ELF/linkerscript/align-section.s | 6 - deps/lld/test/ELF/linkerscript/align-section.test | 7 + deps/lld/test/ELF/linkerscript/align.s | 125 - deps/lld/test/ELF/linkerscript/align1.test | 44 + deps/lld/test/ELF/linkerscript/align2.test | 20 + deps/lld/test/ELF/linkerscript/align3.test | 18 + deps/lld/test/ELF/linkerscript/align4.test | 25 + deps/lld/test/ELF/linkerscript/align5.test | 23 + deps/lld/test/ELF/linkerscript/alignof.s | 41 - deps/lld/test/ELF/linkerscript/alignof.test | 24 + deps/lld/test/ELF/linkerscript/arm-exidx-order.s | 19 - deps/lld/test/ELF/linkerscript/arm-exidx-order.test | 19 + deps/lld/test/ELF/linkerscript/arm-exidx-phdrs.s | 16 - deps/lld/test/ELF/linkerscript/arm-exidx-phdrs.test | 13 + deps/lld/test/ELF/linkerscript/arm-lscript.s | 9 - deps/lld/test/ELF/linkerscript/arm-lscript.test | 11 + deps/lld/test/ELF/linkerscript/assert.s | 9 +- deps/lld/test/ELF/linkerscript/at2.s | 81 - deps/lld/test/ELF/linkerscript/at2.test | 58 + deps/lld/test/ELF/linkerscript/at3.s | 38 - deps/lld/test/ELF/linkerscript/at3.test | 31 + deps/lld/test/ELF/linkerscript/at4.s | 36 + deps/lld/test/ELF/linkerscript/at5.test | 14 + deps/lld/test/ELF/linkerscript/at6.test | 30 + deps/lld/test/ELF/linkerscript/at7.test | 28 + deps/lld/test/ELF/linkerscript/at8.test | 31 + deps/lld/test/ELF/linkerscript/broken-memory-declaration.s | 13 + deps/lld/test/ELF/linkerscript/bss-fill.s | 7 - deps/lld/test/ELF/linkerscript/bss-fill.test | 13 + deps/lld/test/ELF/linkerscript/common-filespec.s | 105 - deps/lld/test/ELF/linkerscript/common-filespec.test | 104 + deps/lld/test/ELF/linkerscript/constructor.s | 13 - deps/lld/test/ELF/linkerscript/constructor.test | 17 + deps/lld/test/ELF/linkerscript/copy-rel-symbol-value-err.s | 2 +- deps/lld/test/ELF/linkerscript/data-commands-gc.s | 2 +- deps/lld/test/ELF/linkerscript/data-commands.s | 117 - deps/lld/test/ELF/linkerscript/data-commands1.test | 45 + deps/lld/test/ELF/linkerscript/data-commands2.test | 40 + deps/lld/test/ELF/linkerscript/data-segment-relro.s | 70 - deps/lld/test/ELF/linkerscript/data-segment-relro.test | 66 + deps/lld/test/ELF/linkerscript/define.s | 25 - deps/lld/test/ELF/linkerscript/define.test | 15 + deps/lld/test/ELF/linkerscript/defsym.s | 19 + deps/lld/test/ELF/linkerscript/diag1.test | 15 + deps/lld/test/ELF/linkerscript/diag2.test | 13 + deps/lld/test/ELF/linkerscript/diag3.test | 13 + deps/lld/test/ELF/linkerscript/diag4.test | 14 + deps/lld/test/ELF/linkerscript/diag5.test | 14 + deps/lld/test/ELF/linkerscript/diag6.test | 7 + deps/lld/test/ELF/linkerscript/diagnostic.s | 106 - deps/lld/test/ELF/linkerscript/discard-gnu-hash.s | 23 + deps/lld/test/ELF/linkerscript/discard-interp.s | 12 - deps/lld/test/ELF/linkerscript/discard-interp.test | 14 + deps/lld/test/ELF/linkerscript/discard-print-gc.s | 4 +- deps/lld/test/ELF/linkerscript/discard-section-err.s | 10 + deps/lld/test/ELF/linkerscript/dot-is-not-abs.s | 4 +- deps/lld/test/ELF/linkerscript/double-bss.s | 21 - deps/lld/test/ELF/linkerscript/double-bss.test | 14 + deps/lld/test/ELF/linkerscript/edata-etext.s | 2 +- deps/lld/test/ELF/linkerscript/eh-frame-emit-relocs.s | 13 + deps/lld/test/ELF/linkerscript/eh-frame-hdr.s | 7 +- deps/lld/test/ELF/linkerscript/eh-frame-reloc-out-of-range.s | 27 - deps/lld/test/ELF/linkerscript/eh-frame-reloc-out-of-range.test | 13 + deps/lld/test/ELF/linkerscript/eh-frame.s | 4 +- deps/lld/test/ELF/linkerscript/emit-reloc-section-names.s | 3 +- deps/lld/test/ELF/linkerscript/emit-reloc.s | 4 +- deps/lld/test/ELF/linkerscript/empty-link-order.test | 21 + deps/lld/test/ELF/linkerscript/empty-load.s | 2 +- deps/lld/test/ELF/linkerscript/empty-section-size.test | 17 + deps/lld/test/ELF/linkerscript/empty-sections-expressions.s | 18 + deps/lld/test/ELF/linkerscript/empty-synthetic-removed-flags.s | 36 + deps/lld/test/ELF/linkerscript/empty-tls.s | 14 - deps/lld/test/ELF/linkerscript/empty-tls.test | 17 + deps/lld/test/ELF/linkerscript/exidx-crash.s | 7 - deps/lld/test/ELF/linkerscript/exidx-crash.test | 10 + deps/lld/test/ELF/linkerscript/expr-invalid-sec.s | 6 - deps/lld/test/ELF/linkerscript/expr-invalid-sec.test | 9 + deps/lld/test/ELF/linkerscript/expr-sections.s | 22 - deps/lld/test/ELF/linkerscript/expr-sections.test | 23 + deps/lld/test/ELF/linkerscript/extend-pt-load.s | 68 - deps/lld/test/ELF/linkerscript/extend-pt-load1.test | 23 + deps/lld/test/ELF/linkerscript/extend-pt-load2.test | 24 + deps/lld/test/ELF/linkerscript/extend-pt-load3.test | 24 + deps/lld/test/ELF/linkerscript/filename-spec.s | 70 +- deps/lld/test/ELF/linkerscript/fill.s | 31 - deps/lld/test/ELF/linkerscript/fill.test | 20 + deps/lld/test/ELF/linkerscript/header-addr.s | 47 - deps/lld/test/ELF/linkerscript/header-addr.test | 49 + deps/lld/test/ELF/linkerscript/header-phdr.s | 13 - deps/lld/test/ELF/linkerscript/header-phdr.test | 15 + deps/lld/test/ELF/linkerscript/header-phdr2.s | 11 + deps/lld/test/ELF/linkerscript/huge-temporary-file.s | 2 +- deps/lld/test/ELF/linkerscript/i386-sections-max-va-overflow.s | 13 + deps/lld/test/ELF/linkerscript/image-base.s | 36 +- deps/lld/test/ELF/linkerscript/implicit-program-header.s | 13 - deps/lld/test/ELF/linkerscript/implicit-program-header.test | 22 + deps/lld/test/ELF/linkerscript/info-section-type.s | 33 + deps/lld/test/ELF/linkerscript/insert-after.test | 29 + deps/lld/test/ELF/linkerscript/insert-before.test | 29 + deps/lld/test/ELF/linkerscript/insert-broken.test | 6 + deps/lld/test/ELF/linkerscript/lazy-symbols.s | 13 - deps/lld/test/ELF/linkerscript/lazy-symbols.test | 14 + deps/lld/test/ELF/linkerscript/linker-script-in-search-path.s | 10 +- deps/lld/test/ELF/linkerscript/linkerscript.s | 12 +- deps/lld/test/ELF/linkerscript/lma-overflow.test | 16 + deps/lld/test/ELF/linkerscript/locationcountererr.s | 11 - deps/lld/test/ELF/linkerscript/locationcountererr.test | 11 + deps/lld/test/ELF/linkerscript/locationcountererr2.s | 6 +- deps/lld/test/ELF/linkerscript/map-file.test | 60 + deps/lld/test/ELF/linkerscript/map-file2.test | 44 + deps/lld/test/ELF/linkerscript/memory-at.s | 46 - deps/lld/test/ELF/linkerscript/memory-at.test | 45 + deps/lld/test/ELF/linkerscript/memory-data-commands.test | 22 + deps/lld/test/ELF/linkerscript/memory-loc-counter.test | 37 + deps/lld/test/ELF/linkerscript/memory-region-alignment.test | 58 + deps/lld/test/ELF/linkerscript/memory.s | 6 +- deps/lld/test/ELF/linkerscript/memory2.s | 2 +- deps/lld/test/ELF/linkerscript/memory4.test | 19 + deps/lld/test/ELF/linkerscript/memory5.test | 19 + deps/lld/test/ELF/linkerscript/merge-sections-syms.s | 4 +- deps/lld/test/ELF/linkerscript/merge-sections.s | 3 +- deps/lld/test/ELF/linkerscript/no-pt-load.s | 5 - deps/lld/test/ELF/linkerscript/no-pt-load.test | 11 + deps/lld/test/ELF/linkerscript/no-space.s | 10 +- deps/lld/test/ELF/linkerscript/noload.s | 29 +- deps/lld/test/ELF/linkerscript/non-absolute.s | 6 +- deps/lld/test/ELF/linkerscript/non-absolute2.s | 12 - deps/lld/test/ELF/linkerscript/non-absolute2.test | 17 + deps/lld/test/ELF/linkerscript/non-alloc-segment.s | 2 +- deps/lld/test/ELF/linkerscript/non-alloc.s | 8 +- deps/lld/test/ELF/linkerscript/numbers.s | 23 +- deps/lld/test/ELF/linkerscript/openbsd-bootdata.s | 7 - deps/lld/test/ELF/linkerscript/openbsd-bootdata.test | 9 + deps/lld/test/ELF/linkerscript/openbsd-randomize.s | 1 + deps/lld/test/ELF/linkerscript/openbsd-wxneeded.s | 17 - deps/lld/test/ELF/linkerscript/openbsd-wxneeded.test | 19 + deps/lld/test/ELF/linkerscript/operators.s | 101 - deps/lld/test/ELF/linkerscript/operators.test | 130 + deps/lld/test/ELF/linkerscript/orphan-first-cmd.s | 20 - deps/lld/test/ELF/linkerscript/orphan-first-cmd.test | 20 + deps/lld/test/ELF/linkerscript/orphan-phdrs.s | 3 +- deps/lld/test/ELF/linkerscript/orphan-report.s | 1 + deps/lld/test/ELF/linkerscript/orphan.s | 2 +- deps/lld/test/ELF/linkerscript/out-of-order.s | 30 +- deps/lld/test/ELF/linkerscript/output-too-large.s | 2 +- deps/lld/test/ELF/linkerscript/outputarch.s | 4 - deps/lld/test/ELF/linkerscript/outputarch.test | 5 + deps/lld/test/ELF/linkerscript/overlapping-sections.s | 113 + deps/lld/test/ELF/linkerscript/overlay-reject.test | 13 + deps/lld/test/ELF/linkerscript/overlay-reject2.test | 17 + deps/lld/test/ELF/linkerscript/overlay.test | 30 + deps/lld/test/ELF/linkerscript/page-size-align.s | 22 - deps/lld/test/ELF/linkerscript/page-size-align.test | 21 + deps/lld/test/ELF/linkerscript/parse-section-in-addr.s | 10 - deps/lld/test/ELF/linkerscript/parse-section-in-addr.test | 10 + deps/lld/test/ELF/linkerscript/provide-empty-section.s | 30 + deps/lld/test/ELF/linkerscript/provide-shared2.s | 13 + deps/lld/test/ELF/linkerscript/pt-interp.test | 21 + deps/lld/test/ELF/linkerscript/pt_gnu_eh_frame.s | 2 +- deps/lld/test/ELF/linkerscript/region-alias.s | 4 +- deps/lld/test/ELF/linkerscript/rosegment.s | 24 - deps/lld/test/ELF/linkerscript/rosegment.test | 26 + deps/lld/test/ELF/linkerscript/section-metadata.s | 8 +- deps/lld/test/ELF/linkerscript/section-metadata2.s | 37 + deps/lld/test/ELF/linkerscript/sections-keep.s | 36 +- deps/lld/test/ELF/linkerscript/sections-max-va-overflow.s | 13 + deps/lld/test/ELF/linkerscript/sections-sort.s | 10 +- deps/lld/test/ELF/linkerscript/sections-va-overflow.test | 22 + deps/lld/test/ELF/linkerscript/sections.s | 8 +- deps/lld/test/ELF/linkerscript/segment-none.s | 4 +- deps/lld/test/ELF/linkerscript/segment-start.s | 2 +- deps/lld/test/ELF/linkerscript/sort-constructors.s | 5 - deps/lld/test/ELF/linkerscript/sort-constructors.test | 8 + deps/lld/test/ELF/linkerscript/sort-non-script.s | 10 +- deps/lld/test/ELF/linkerscript/start-end.s | 16 - deps/lld/test/ELF/linkerscript/start-end.test | 12 + deps/lld/test/ELF/linkerscript/subalign.s | 2 +- deps/lld/test/ELF/linkerscript/symbol-assignexpr.s | 2 +- deps/lld/test/ELF/linkerscript/symbol-memoryexpr.s | 2 +- deps/lld/test/ELF/linkerscript/symbol-only-flags.s | 20 - deps/lld/test/ELF/linkerscript/symbol-only-flags.test | 21 + deps/lld/test/ELF/linkerscript/symbol-only.s | 21 - deps/lld/test/ELF/linkerscript/symbol-only.test | 21 + deps/lld/test/ELF/linkerscript/symbol-ordering-file.s | 10 + deps/lld/test/ELF/linkerscript/symbol-ordering-file2.s | 16 + deps/lld/test/ELF/linkerscript/symbols-non-alloc.s | 19 - deps/lld/test/ELF/linkerscript/symbols-non-alloc.test | 18 + deps/lld/test/ELF/linkerscript/symbols-synthetic.s | 98 - deps/lld/test/ELF/linkerscript/synthetic-relsec-layout.s | 16 + deps/lld/test/ELF/linkerscript/synthetic-symbols1.test | 56 + deps/lld/test/ELF/linkerscript/synthetic-symbols2.test | 13 + deps/lld/test/ELF/linkerscript/synthetic-symbols3.test | 11 + deps/lld/test/ELF/linkerscript/synthetic-symbols4.test | 14 + deps/lld/test/ELF/linkerscript/unused-synthetic.s | 6 +- deps/lld/test/ELF/linkerscript/unused-synthetic2.test | 12 + deps/lld/test/ELF/linkerscript/va.s | 8 +- deps/lld/test/ELF/linkerscript/version-script.s | 57 + deps/lld/test/ELF/llvm33-rela-outside-group.s | 2 +- deps/lld/test/ELF/local-dynamic.s | 2 +- deps/lld/test/ELF/local-got-pie.s | 1 + deps/lld/test/ELF/local-got-shared.s | 1 + deps/lld/test/ELF/local-got.s | 1 + deps/lld/test/ELF/local-symbols-order.s | 37 + deps/lld/test/ELF/local.s | 2 +- deps/lld/test/ELF/lto-plugin-ignore.s | 9 +- deps/lld/test/ELF/lto/Inputs/absolute.s | 2 + deps/lld/test/ELF/lto/Inputs/archive-3.ll | 1 + deps/lld/test/ELF/lto/Inputs/asmundef.ll | 4 + deps/lld/test/ELF/lto/Inputs/common3.ll | 1 + deps/lld/test/ELF/lto/Inputs/i386-empty.ll | 2 + deps/lld/test/ELF/lto/Inputs/lazy-internal.ll | 6 + deps/lld/test/ELF/lto/Inputs/libcall-archive.ll | 6 + deps/lld/test/ELF/lto/Inputs/sample-profile.prof | 1 + deps/lld/test/ELF/lto/Inputs/thinlto_empty.ll | 2 + deps/lld/test/ELF/lto/Inputs/weakodr-visibility.ll | 6 + deps/lld/test/ELF/lto/abs-resol.ll | 17 + deps/lld/test/ELF/lto/archive-2.ll | 4 +- deps/lld/test/ELF/lto/archive-3.ll | 4 +- deps/lld/test/ELF/lto/archive-no-index.ll | 4 +- deps/lld/test/ELF/lto/archive.ll | 4 +- deps/lld/test/ELF/lto/asmundef.ll | 5 +- deps/lld/test/ELF/lto/available-externally.ll | 2 +- deps/lld/test/ELF/lto/bitcode-nodatalayout.ll | 2 +- deps/lld/test/ELF/lto/codemodel.ll | 4 +- deps/lld/test/ELF/lto/combined-lto-object-name.ll | 2 +- deps/lld/test/ELF/lto/comdat.ll | 2 +- deps/lld/test/ELF/lto/comdat2.ll | 4 +- deps/lld/test/ELF/lto/common2.ll | 2 +- deps/lld/test/ELF/lto/common3.ll | 2 +- deps/lld/test/ELF/lto/cpu-string.ll | 25 + deps/lld/test/ELF/lto/ctors.ll | 2 +- deps/lld/test/ELF/lto/data-ordering-lto.s | 13 +- deps/lld/test/ELF/lto/debugger-tune.ll | 35 + deps/lld/test/ELF/lto/defsym.ll | 10 +- deps/lld/test/ELF/lto/discard-value-names.ll | 2 +- deps/lld/test/ELF/lto/drop-debug-info.ll | 4 +- deps/lld/test/ELF/lto/drop-linkage.ll | 6 +- deps/lld/test/ELF/lto/duplicated.ll | 2 +- deps/lld/test/ELF/lto/dynamic-list.ll | 2 +- deps/lld/test/ELF/lto/dynsym.ll | 6 +- deps/lld/test/ELF/lto/inline-asm.ll | 2 +- deps/lld/test/ELF/lto/internalize-basic.ll | 4 +- deps/lld/test/ELF/lto/internalize-exportdyn.ll | 10 +- deps/lld/test/ELF/lto/internalize-llvmused.ll | 2 +- deps/lld/test/ELF/lto/internalize-undef.ll | 2 +- deps/lld/test/ELF/lto/internalize-version-script.ll | 2 +- deps/lld/test/ELF/lto/irmover-error.ll | 2 +- deps/lld/test/ELF/lto/keep-undefined.ll | 2 +- deps/lld/test/ELF/lto/lazy-internal.ll | 19 + deps/lld/test/ELF/lto/libcall-archive.ll | 21 + deps/lld/test/ELF/lto/linkage.ll | 2 +- deps/lld/test/ELF/lto/linker-script-symbols-assign.ll | 15 +- deps/lld/test/ELF/lto/linker-script-symbols-ipo.ll | 8 +- deps/lld/test/ELF/lto/linker-script-symbols.ll | 2 +- deps/lld/test/ELF/lto/lto-start.ll | 2 +- deps/lld/test/ELF/lto/ltopasses-basic.ll | 2 +- deps/lld/test/ELF/lto/ltopasses-custom.ll | 4 +- deps/lld/test/ELF/lto/metadata.ll | 2 +- deps/lld/test/ELF/lto/mix-platforms2.ll | 9 + deps/lld/test/ELF/lto/module-asm.ll | 2 +- deps/lld/test/ELF/lto/new-pass-manager.ll | 14 + deps/lld/test/ELF/lto/opt-level.ll | 22 +- deps/lld/test/ELF/lto/parallel-internalize.ll | 20 +- deps/lld/test/ELF/lto/parallel.ll | 2 +- deps/lld/test/ELF/lto/relax-relocs.ll | 2 +- deps/lld/test/ELF/lto/relocatable.ll | 9 + deps/lld/test/ELF/lto/sample-profile.ll | 25 + deps/lld/test/ELF/lto/save-temps.ll | 2 +- deps/lld/test/ELF/lto/setting-dso-local.ll | 15 + deps/lld/test/ELF/lto/start-lib.ll | 6 +- deps/lld/test/ELF/lto/symbol-ordering-lto.s | 11 +- deps/lld/test/ELF/lto/thinlto-cant-write-index.ll | 23 + deps/lld/test/ELF/lto/thinlto-debug-fission.ll | 21 + deps/lld/test/ELF/lto/thinlto-emit-imports.ll | 55 + deps/lld/test/ELF/lto/thinlto-index-file.ll | 24 + deps/lld/test/ELF/lto/thinlto-index-only.ll | 89 + deps/lld/test/ELF/lto/thinlto-no-index.ll | 24 + deps/lld/test/ELF/lto/thinlto-obj-path.ll | 23 + deps/lld/test/ELF/lto/thinlto-object-suffix-replace.ll | 50 + deps/lld/test/ELF/lto/thinlto-prefix-replace.ll | 23 + deps/lld/test/ELF/lto/thinlto.ll | 31 +- deps/lld/test/ELF/lto/timepasses.ll | 7 +- deps/lld/test/ELF/lto/tls-mixed.ll | 2 +- deps/lld/test/ELF/lto/tls-preserve.ll | 2 +- deps/lld/test/ELF/lto/type-merge.ll | 2 +- deps/lld/test/ELF/lto/type-merge2.ll | 2 +- deps/lld/test/ELF/lto/undef-weak.ll | 5 +- deps/lld/test/ELF/lto/undef.ll | 2 +- deps/lld/test/ELF/lto/undefined-puts.ll | 2 +- deps/lld/test/ELF/lto/unnamed-addr-comdat.ll | 2 +- deps/lld/test/ELF/lto/unnamed-addr-drop.ll | 2 +- deps/lld/test/ELF/lto/unnamed-addr-lib.ll | 2 +- deps/lld/test/ELF/lto/unnamed-addr.ll | 2 +- deps/lld/test/ELF/lto/verify-invalid.ll | 6 +- deps/lld/test/ELF/lto/version-script.ll | 2 +- deps/lld/test/ELF/lto/version-script2.ll | 15 + deps/lld/test/ELF/lto/visibility.ll | 5 +- deps/lld/test/ELF/lto/weak.ll | 2 +- deps/lld/test/ELF/lto/weakodr-visibility.ll | 40 + deps/lld/test/ELF/lto/wrap-1.ll | 4 +- deps/lld/test/ELF/map-file-i686.s | 21 + deps/lld/test/ELF/map-file.s | 120 +- deps/lld/test/ELF/map-gc-sections.s | 3 +- deps/lld/test/ELF/merge-gc-piece.s | 38 + deps/lld/test/ELF/merge-gc-piece2.s | 27 + deps/lld/test/ELF/merge-reloc-O0.s | 48 + deps/lld/test/ELF/merge-shared-str.s | 4 +- deps/lld/test/ELF/merge-shared.s | 4 +- deps/lld/test/ELF/merge-string-empty.s | 4 +- deps/lld/test/ELF/merge-string-error.s | 2 +- deps/lld/test/ELF/merge-string-no-null.s | 2 +- deps/lld/test/ELF/merge-string.s | 22 +- deps/lld/test/ELF/merge-sym.s | 4 +- deps/lld/test/ELF/merge-to-non-alloc.s | 33 + deps/lld/test/ELF/mips-26-mask.s | 3 +- deps/lld/test/ELF/mips-26-n32-n64.s | 13 +- deps/lld/test/ELF/mips-26.s | 3 +- deps/lld/test/ELF/mips-32.s | 3 +- deps/lld/test/ELF/mips-64-disp.s | 3 +- deps/lld/test/ELF/mips-64-got-overflow.s | 80 + deps/lld/test/ELF/mips-64-got.s | 3 +- deps/lld/test/ELF/mips-64-gprel-so.s | 3 +- deps/lld/test/ELF/mips-64-rels.s | 3 +- deps/lld/test/ELF/mips-64.s | 14 +- deps/lld/test/ELF/mips-abs-got.s | 36 + deps/lld/test/ELF/mips-align-err.s | 2 +- deps/lld/test/ELF/mips-call-hilo.s | 3 +- deps/lld/test/ELF/mips-call16.s | 3 +- deps/lld/test/ELF/mips-dynamic.s | 49 +- deps/lld/test/ELF/mips-dynsym-sort.s | 3 +- deps/lld/test/ELF/mips-elf-abi.s | 22 + deps/lld/test/ELF/mips-elf-flags-err.s | 33 +- deps/lld/test/ELF/mips-elf-flags-err.test | 89 + deps/lld/test/ELF/mips-elf-flags.s | 3 +- deps/lld/test/ELF/mips-fp-flags-err.test | 162 + deps/lld/test/ELF/mips-gnu-hash.s | 7 +- deps/lld/test/ELF/mips-got-and-copy.s | 8 +- deps/lld/test/ELF/mips-got-extsym.s | 3 +- deps/lld/test/ELF/mips-got-hilo.s | 3 +- deps/lld/test/ELF/mips-got-page-script.s | 3 +- deps/lld/test/ELF/mips-got-page.s | 3 +- deps/lld/test/ELF/mips-got-redundant.s | 3 +- deps/lld/test/ELF/mips-got-relocs.s | 3 +- deps/lld/test/ELF/mips-got-script.s | 13 +- deps/lld/test/ELF/mips-got-string.s | 5 +- deps/lld/test/ELF/mips-got-weak.s | 160 +- deps/lld/test/ELF/mips-got16-relocatable.s | 3 +- deps/lld/test/ELF/mips-got16.s | 3 +- deps/lld/test/ELF/mips-gp-disp-ver.s | 3 +- deps/lld/test/ELF/mips-gp-disp.s | 3 +- deps/lld/test/ELF/mips-gp-ext.s | 41 +- deps/lld/test/ELF/mips-gp-local.s | 3 +- deps/lld/test/ELF/mips-gp-lowest.s | 11 +- deps/lld/test/ELF/mips-gprel-sec.s | 3 +- deps/lld/test/ELF/mips-gprel32-relocs-gp0.s | 12 +- deps/lld/test/ELF/mips-gprel32-relocs.s | 3 +- deps/lld/test/ELF/mips-higher-highest.s | 3 +- deps/lld/test/ELF/mips-hilo-gp-disp.s | 3 +- deps/lld/test/ELF/mips-hilo-hi-only.s | 3 +- deps/lld/test/ELF/mips-hilo.s | 3 +- deps/lld/test/ELF/mips-lo16-not-relative.s | 3 +- deps/lld/test/ELF/mips-merge-abiflags.s | 2 +- deps/lld/test/ELF/mips-mgot.s | 117 + deps/lld/test/ELF/mips-micro-got.s | 3 +- deps/lld/test/ELF/mips-micro-got64.s | 48 - deps/lld/test/ELF/mips-micro-jal.s | 3 +- deps/lld/test/ELF/mips-micro-plt.s | 37 +- deps/lld/test/ELF/mips-micro-relocs.s | 3 +- deps/lld/test/ELF/mips-micro-thunks.s | 85 +- deps/lld/test/ELF/mips-micror6-relocs.s | 38 + deps/lld/test/ELF/mips-n32-emul.s | 5 +- deps/lld/test/ELF/mips-n32-rels.s | 46 +- deps/lld/test/ELF/mips-non-zero-gp0.s | 54 + deps/lld/test/ELF/mips-nonalloc.s | 3 +- deps/lld/test/ELF/mips-options.s | 3 +- deps/lld/test/ELF/mips-out-of-bounds-call16-reloc.s | 4 +- deps/lld/test/ELF/mips-pc-relocs.s | 3 +- deps/lld/test/ELF/mips-plt-copy.s | 11 +- deps/lld/test/ELF/mips-plt-n32.s | 43 + deps/lld/test/ELF/mips-plt-r6.s | 14 +- deps/lld/test/ELF/mips-reginfo.s | 3 +- deps/lld/test/ELF/mips-relocatable.s | 3 +- deps/lld/test/ELF/mips-sto-pic-flag.s | 3 +- deps/lld/test/ELF/mips-sto-plt.s | 11 +- deps/lld/test/ELF/mips-tls-64-pic-local-variable.s | 49 + deps/lld/test/ELF/mips-tls-64.s | 79 +- deps/lld/test/ELF/mips-tls-hilo.s | 3 +- deps/lld/test/ELF/mips-tls-static-64.s | 3 +- deps/lld/test/ELF/mips-tls-static.s | 7 +- deps/lld/test/ELF/mips-tls.s | 73 +- deps/lld/test/ELF/mips-xgot-order.s | 3 +- deps/lld/test/ELF/mips64-eh-abs-reloc.s | 6 +- deps/lld/test/ELF/multiple-cu.s | 38 + deps/lld/test/ELF/new-dtags.test | 6 +- deps/lld/test/ELF/no-augmentation.s | 5 +- deps/lld/test/ELF/no-dynamic-linker.s | 12 - deps/lld/test/ELF/no-inhibit-exec.s | 2 +- deps/lld/test/ELF/no-line-parser-errors-if-empty-section.s | 21 + deps/lld/test/ELF/no-line-parser-errors-if-no-section.s | 19 + deps/lld/test/ELF/no-obj.s | 2 +- deps/lld/test/ELF/no-symtab.s | 2 +- deps/lld/test/ELF/no-undefined.s | 4 +- deps/lld/test/ELF/non-abs-reloc.s | 18 +- deps/lld/test/ELF/non-alloc-link-order-gc.s | 34 + deps/lld/test/ELF/note-contiguous.s | 36 +- deps/lld/test/ELF/note-loadaddr.c | 35 - deps/lld/test/ELF/note-loadaddr.s | 35 + deps/lld/test/ELF/note-noalloc.s | 38 + deps/lld/test/ELF/note-noalloc2.s | 11 + deps/lld/test/ELF/oformat-binary.s | 4 +- deps/lld/test/ELF/output-section.s | 2 +- deps/lld/test/ELF/pack-dyn-relocs.s | 361 +- deps/lld/test/ELF/pack-dyn-relocs2.s | 85 + deps/lld/test/ELF/pie.s | 4 +- deps/lld/test/ELF/plt-aarch64.s | 3 +- deps/lld/test/ELF/plt-i686.s | 2 +- deps/lld/test/ELF/plt.s | 3 +- deps/lld/test/ELF/ppc-rela.s | 11 + deps/lld/test/ELF/ppc-relocs.s | 2 +- deps/lld/test/ELF/ppc64-abi-version.s | 11 + deps/lld/test/ELF/ppc64-addr16-error.s | 9 +- deps/lld/test/ELF/ppc64-dtprel.s | 204 + deps/lld/test/ELF/ppc64-dynamic-relocations.s | 50 + deps/lld/test/ELF/ppc64-error-toc-restore.s | 20 + deps/lld/test/ELF/ppc64-error-toc-tail-call.s | 20 + deps/lld/test/ELF/ppc64-func-entry-points.s | 80 + deps/lld/test/ELF/ppc64-gd-to-ie.s | 104 + deps/lld/test/ELF/ppc64-general-dynamic-tls.s | 112 + deps/lld/test/ELF/ppc64-got-indirect.s | 115 + deps/lld/test/ELF/ppc64-ifunc.s | 87 + deps/lld/test/ELF/ppc64-initial-exec-tls.s | 102 + deps/lld/test/ELF/ppc64-local-dynamic.s | 128 + deps/lld/test/ELF/ppc64-local-exec-tls.s | 163 + deps/lld/test/ELF/ppc64-plt-stub.s | 42 + deps/lld/test/ELF/ppc64-rel-calls.s | 34 +- deps/lld/test/ELF/ppc64-rel-so-local-calls.s | 87 + deps/lld/test/ELF/ppc64-relocs.s | 103 +- deps/lld/test/ELF/ppc64-shared-rel-toc.s | 27 - deps/lld/test/ELF/ppc64-tls-gd-le.s | 83 + deps/lld/test/ELF/ppc64-tls-ld-le.s | 84 + deps/lld/test/ELF/ppc64-toc-rel.s | 90 + deps/lld/test/ELF/ppc64-toc-restore.s | 94 +- deps/lld/test/ELF/ppc64-weak-undef-call-shared.s | 9 +- deps/lld/test/ELF/ppc64-weak-undef-call.s | 19 +- deps/lld/test/ELF/ppc64_entry_point.s | 50 + deps/lld/test/ELF/pr34660.s | 2 +- deps/lld/test/ELF/pr34872.s | 3 +- deps/lld/test/ELF/pr36475.s | 30 + deps/lld/test/ELF/pr37735.s | 12 + deps/lld/test/ELF/pre_init_fini_array.s | 2 +- deps/lld/test/ELF/pre_init_fini_array_missing.s | 39 +- deps/lld/test/ELF/print-icf.s | 48 + deps/lld/test/ELF/program-header-layout.s | 2 +- deps/lld/test/ELF/protected-data-access.s | 27 + deps/lld/test/ELF/protected-function-access.s | 27 + deps/lld/test/ELF/push-state.s | 36 + deps/lld/test/ELF/rel-addend-with-rela-input.s | 43 + deps/lld/test/ELF/relative-dynamic-reloc-ppc64.s | 6 +- deps/lld/test/ELF/relocatable-build-id.s | 12 + deps/lld/test/ELF/relocatable-comdat-multiple.s | 4 + deps/lld/test/ELF/relocatable-comdat.s | 2 + deps/lld/test/ELF/relocatable-comdat2.s | 4 + deps/lld/test/ELF/relocatable-eh-frame.s | 2 +- deps/lld/test/ELF/relocatable-many-sections.s | 109 + deps/lld/test/ELF/relocatable-symbols.s | 36 +- deps/lld/test/ELF/relocation-absolute.s | 2 +- deps/lld/test/ELF/relocation-common.s | 2 +- deps/lld/test/ELF/relocation-dtrace.test | 2 +- deps/lld/test/ELF/relocation-i686.s | 2 +- deps/lld/test/ELF/relocation-local.s | 2 +- deps/lld/test/ELF/relocation-nocopy.s | 2 +- deps/lld/test/ELF/relocation-non-alloc.s | 56 +- deps/lld/test/ELF/relocation-none-aarch64.test | 2 +- deps/lld/test/ELF/relocation-none-i686.test | 2 +- deps/lld/test/ELF/relocation-past-merge-end.s | 2 +- deps/lld/test/ELF/relocation-relative-absolute.s | 2 +- deps/lld/test/ELF/relocation-shared.s | 6 +- deps/lld/test/ELF/relocation-size-err.s | 4 +- deps/lld/test/ELF/relocation-size-shared.s | 1 + deps/lld/test/ELF/relocation-size.s | 1 + deps/lld/test/ELF/relocation-undefined-weak.s | 2 +- deps/lld/test/ELF/relocation.s | 11 +- deps/lld/test/ELF/relro-non-contiguous.s | 2 +- deps/lld/test/ELF/relro-omagic.s | 5 +- deps/lld/test/ELF/relro-script.s | 2 +- deps/lld/test/ELF/relro.s | 10 +- deps/lld/test/ELF/reproduce-backslash.s | 6 +- deps/lld/test/ELF/reproduce-error.s | 2 +- deps/lld/test/ELF/reproduce.s | 2 +- deps/lld/test/ELF/resolution-end.s | 2 +- deps/lld/test/ELF/resolution-shared.s | 2 +- deps/lld/test/ELF/resolution.s | 2 +- deps/lld/test/ELF/rodynamic.s | 1 + deps/lld/test/ELF/section-align-0.test | 2 +- deps/lld/test/ELF/section-layout.s | 7 +- deps/lld/test/ELF/section-metadata-err.s | 6 +- deps/lld/test/ELF/section-metadata-err2.s | 17 + deps/lld/test/ELF/section-metadata-err3.s | 17 + deps/lld/test/ELF/section-name.s | 2 +- deps/lld/test/ELF/section-symbol.s | 1 + deps/lld/test/ELF/section-symbols.test | 2 +- deps/lld/test/ELF/sectionstart-noallochdr.s | 2 +- deps/lld/test/ELF/sectionstart.s | 8 +- deps/lld/test/ELF/shared-be.s | 37 - deps/lld/test/ELF/shared-lazy.s | 1 + deps/lld/test/ELF/shared-ppc64.s | 44 + deps/lld/test/ELF/shared.s | 9 +- deps/lld/test/ELF/shlib-undefined-archive.s | 19 + deps/lld/test/ELF/shlib-undefined-local.s | 19 + deps/lld/test/ELF/sht-group-gold-r.test | 1 + deps/lld/test/ELF/silent-ignore.test | 1 - deps/lld/test/ELF/soname.s | 1 + deps/lld/test/ELF/soname2.s | 1 + deps/lld/test/ELF/sort-norosegment.s | 10 +- deps/lld/test/ELF/splitstacks.s | 11 - deps/lld/test/ELF/start-lib.s | 9 + deps/lld/test/ELF/startstop-shared.s | 22 +- deps/lld/test/ELF/startstop.s | 15 +- deps/lld/test/ELF/static-with-export-dynamic.s | 2 +- deps/lld/test/ELF/string-gc.s | 1 + deps/lld/test/ELF/string-table.s | 2 +- deps/lld/test/ELF/symbol-ordering-file-icf.s | 32 + deps/lld/test/ELF/symbol-ordering-file-warnings.s | 165 + deps/lld/test/ELF/symbol-ordering-file.s | 16 + deps/lld/test/ELF/symbol-override.s | 1 + deps/lld/test/ELF/symbols.s | 2 +- deps/lld/test/ELF/symver-archive.s | 2 +- deps/lld/test/ELF/sysroot.s | 2 +- deps/lld/test/ELF/text-section-prefix.s | 39 + deps/lld/test/ELF/tls-archive.s | 2 +- deps/lld/test/ELF/tls-error.s | 2 +- deps/lld/test/ELF/tls-got.s | 9 +- deps/lld/test/ELF/tls-in-archive.s | 2 +- deps/lld/test/ELF/tls-mismatch.s | 2 +- deps/lld/test/ELF/tls-opt-gdie.s | 1 + deps/lld/test/ELF/tls-opt-gdiele-i686.s | 1 + deps/lld/test/ELF/tls-opt-i686.s | 5 +- deps/lld/test/ELF/tls-opt-iele-i686-nopic.s | 1 + deps/lld/test/ELF/tls-opt-local.s | 1 + deps/lld/test/ELF/tls-opt-no-plt.s | 1 + deps/lld/test/ELF/tls-opt.s | 1 + deps/lld/test/ELF/tls-static.s | 2 +- deps/lld/test/ELF/trace-symbols.s | 8 +- deps/lld/test/ELF/typed-undef.s | 2 +- deps/lld/test/ELF/undef-broken-debug.test | 23 +- deps/lld/test/ELF/undef-shared.s | 3 +- deps/lld/test/ELF/undef-shared2.s | 11 + deps/lld/test/ELF/undef-start.s | 6 +- deps/lld/test/ELF/undef-version-script.s | 1 + deps/lld/test/ELF/undef.s | 18 +- deps/lld/test/ELF/undefined-opt.s | 2 +- deps/lld/test/ELF/unresolved-symbols.s | 10 +- deps/lld/test/ELF/user_def_init_array_start.s | 3 +- deps/lld/test/ELF/verdef-defaultver.s | 6 +- deps/lld/test/ELF/verneed-local.s | 2 +- deps/lld/test/ELF/verneed.s | 124 +- deps/lld/test/ELF/version-exclude-libs.s | 30 + deps/lld/test/ELF/version-script-complex-wildcards.s | 2 +- deps/lld/test/ELF/version-script-extern-undefined.s | 19 + deps/lld/test/ELF/version-script-extern.s | 2 +- deps/lld/test/ELF/version-script-extern2.s | 22 + deps/lld/test/ELF/version-script-glob.s | 2 +- deps/lld/test/ELF/version-script-in-search-path.s | 10 + deps/lld/test/ELF/version-script-missing.s | 2 +- deps/lld/test/ELF/version-script-no-warn.s | 2 +- deps/lld/test/ELF/version-script-no-warn2.s | 3 +- deps/lld/test/ELF/version-script-noundef.s | 2 + deps/lld/test/ELF/version-script-symver.s | 2 +- deps/lld/test/ELF/version-script.s | 9 +- deps/lld/test/ELF/version-symbol-error.s | 2 +- deps/lld/test/ELF/version-undef-sym.s | 2 +- deps/lld/test/ELF/visibility.s | 2 +- deps/lld/test/ELF/warn-backrefs.s | 48 + deps/lld/test/ELF/warn-common.s | 4 +- deps/lld/test/ELF/warn-unresolved-symbols-hidden.s | 2 +- deps/lld/test/ELF/warn-unresolved-symbols.s | 14 +- deps/lld/test/ELF/weak-and-strong-undef.s | 2 +- deps/lld/test/ELF/weak-shared-gc.s | 21 + deps/lld/test/ELF/weak-undef-lazy.s | 2 +- deps/lld/test/ELF/weak-undef-lib.s | 19 + deps/lld/test/ELF/whole-archive-name.s | 15 + deps/lld/test/ELF/wrap.s | 2 + deps/lld/test/ELF/writable-merge.s | 2 +- deps/lld/test/ELF/writable-sec-plt-reloc.s | 2 +- deps/lld/test/ELF/x86-64-dyn-rel-error.s | 6 +- deps/lld/test/ELF/x86-64-dyn-rel-error2.s | 4 +- deps/lld/test/ELF/x86-64-dyn-rel-error3.s | 16 + deps/lld/test/ELF/x86-64-plt-high-addr.s | 24 + deps/lld/test/ELF/x86-64-reloc-16.s | 4 +- deps/lld/test/ELF/x86-64-reloc-32-fpic.s | 4 +- deps/lld/test/ELF/x86-64-reloc-8.s | 4 +- deps/lld/test/ELF/x86-64-reloc-debug-overflow.s | 9 + deps/lld/test/ELF/x86-64-reloc-error-reporting.s | 19 + deps/lld/test/ELF/x86-64-reloc-error.s | 4 +- deps/lld/test/ELF/x86-64-reloc-error2.s | 18 + deps/lld/test/ELF/x86-64-reloc-gotoff64.s | 32 + deps/lld/test/ELF/x86-64-reloc-gotpc64.s | 14 + deps/lld/test/ELF/x86-64-reloc-pc32-fpic.s | 7 +- deps/lld/test/ELF/x86-64-reloc-range-debug-loc.s | 36 + deps/lld/test/ELF/x86-64-reloc-range.s | 3 +- deps/lld/test/ELF/x86-64-reloc-tpoff32-fpic.s | 4 +- deps/lld/test/ELF/x86-64-retpoline-linkerscript.s | 67 + deps/lld/test/ELF/x86-64-retpoline-znow-linkerscript.s | 54 + deps/lld/test/ELF/x86-64-split-stack-prologue-adjust-fail.s | 31 + deps/lld/test/ELF/x86-64-split-stack-prologue-adjust-silent.s | 32 + deps/lld/test/ELF/x86-64-split-stack-prologue-adjust-success.s | 124 + deps/lld/test/ELF/x86-64-tls-ld-local.s | 29 + deps/lld/test/ELF/zdefs.s | 1 + deps/lld/test/ELF/znotext-plt-relocations-protected.s | 4 +- deps/lld/test/ELF/znotext-weak-undef.s | 2 +- deps/lld/test/ELF/ztext-text-notext.s | 36 - deps/lld/test/ELF/ztext.s | 45 + deps/lld/test/MinGW/driver.test | 21 + deps/lld/test/darwin/cmdline-lto_library.objtxt | 11 + deps/lld/test/darwin/cmdline-objc_gc.objtxt | 2 +- deps/lld/test/darwin/cmdline-objc_gc_compaction.objtxt | 2 +- deps/lld/test/darwin/cmdline-objc_gc_only.objtxt | 2 +- deps/lld/test/darwin/native-and-mach-o.objtxt | 2 +- deps/lld/test/lit.cfg.py | 12 +- deps/lld/test/lit.site.cfg.py.in | 3 + deps/lld/test/mach-o/Inputs/swift-version-1.yaml | 2 +- deps/lld/test/mach-o/Inputs/wrong-arch-error.yaml | 2 +- deps/lld/test/mach-o/PIE.yaml | 6 +- deps/lld/test/mach-o/align_text.yaml | 4 +- deps/lld/test/mach-o/arm-interworking-movw.yaml | 4 +- deps/lld/test/mach-o/arm-interworking.yaml | 4 +- deps/lld/test/mach-o/arm-shims.yaml | 2 +- deps/lld/test/mach-o/arm-subsections-via-symbols.yaml | 2 +- deps/lld/test/mach-o/arm64-reloc-negDelta32-fixup.yaml | 4 +- deps/lld/test/mach-o/arm64-relocs-errors-delta64-offset.yaml | 2 +- deps/lld/test/mach-o/arm64-section-order.yaml | 4 +- deps/lld/test/mach-o/bind-opcodes.yaml | 2 +- deps/lld/test/mach-o/cstring-sections.yaml | 2 +- deps/lld/test/mach-o/data-in-code-load-command.yaml | 16 +- deps/lld/test/mach-o/data-only-dylib.yaml | 2 +- deps/lld/test/mach-o/dead-strip-globals.yaml | 8 +- deps/lld/test/mach-o/debug-syms.yaml | 2 +- deps/lld/test/mach-o/demangle.yaml | 4 +- deps/lld/test/mach-o/dependency_info.yaml | 2 +- deps/lld/test/mach-o/do-not-emit-unwind-fde-arm64.yaml | 4 +- deps/lld/test/mach-o/dso_handle.yaml | 8 +- deps/lld/test/mach-o/dylib-install-names.yaml | 8 +- deps/lld/test/mach-o/eh-frame-relocs-arm64.yaml | 4 +- deps/lld/test/mach-o/error-simulator-vs-macosx.yaml | 4 +- deps/lld/test/mach-o/exe-offsets.yaml | 2 +- deps/lld/test/mach-o/exe-segment-overlap.yaml | 2 +- deps/lld/test/mach-o/executable-exports.yaml | 2 +- deps/lld/test/mach-o/export-trie-order.yaml | 2 +- deps/lld/test/mach-o/exported_symbols_list-dylib.yaml | 8 +- deps/lld/test/mach-o/exported_symbols_list-obj.yaml | 6 +- deps/lld/test/mach-o/exported_symbols_list-undef.yaml | 2 +- deps/lld/test/mach-o/fat-archive.yaml | 2 +- deps/lld/test/mach-o/filelist.yaml | 4 +- deps/lld/test/mach-o/flat_namespace_undef_error.yaml | 2 +- deps/lld/test/mach-o/flat_namespace_undef_suppress.yaml | 2 +- deps/lld/test/mach-o/force_load-dylib.yaml | 4 +- deps/lld/test/mach-o/force_load-x86_64.yaml | 4 +- deps/lld/test/mach-o/framework-user-paths.yaml | 2 +- deps/lld/test/mach-o/function-starts-load-command.yaml | 10 +- deps/lld/test/mach-o/gcc_except_tab-got-arm64.yaml | 2 +- deps/lld/test/mach-o/got-order.yaml | 2 +- deps/lld/test/mach-o/hello-world-arm64.yaml | 2 +- deps/lld/test/mach-o/hello-world-armv6.yaml | 2 +- deps/lld/test/mach-o/hello-world-armv7.yaml | 2 +- deps/lld/test/mach-o/hello-world-x86.yaml | 2 +- deps/lld/test/mach-o/hello-world-x86_64.yaml | 4 +- deps/lld/test/mach-o/image-base.yaml | 8 +- deps/lld/test/mach-o/infer-arch.yaml | 4 +- deps/lld/test/mach-o/interposing-section.yaml | 4 +- deps/lld/test/mach-o/keep_private_externs.yaml | 4 +- deps/lld/test/mach-o/lazy-bind-x86_64.yaml | 2 +- deps/lld/test/mach-o/lc_segment_filesize.yaml | 2 +- deps/lld/test/mach-o/lib-search-paths.yaml | 2 +- deps/lld/test/mach-o/library-order.yaml | 2 +- deps/lld/test/mach-o/library-rescan.yaml | 2 +- deps/lld/test/mach-o/libresolve-bizarre-root-override.yaml | 2 +- deps/lld/test/mach-o/libresolve-multiple-syslibroots.yaml | 2 +- deps/lld/test/mach-o/libresolve-one-syslibroot.yaml | 2 +- deps/lld/test/mach-o/libresolve-simple.yaml | 2 +- deps/lld/test/mach-o/libresolve-user-paths.yaml | 2 +- deps/lld/test/mach-o/libresolve-z.yaml | 2 +- deps/lld/test/mach-o/mach_header-cpusubtype.yaml | 6 +- deps/lld/test/mach-o/mh_bundle_header.yaml | 4 +- deps/lld/test/mach-o/mh_dylib_header.yaml | 2 +- deps/lld/test/mach-o/objc-category-list-atom.yaml | 4 +- deps/lld/test/mach-o/objc-image-info-host-vs-simulator.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-invalid-size.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-invalid-version.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-mismatched-swift-version.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-pass-output.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-simulator-vs-host.yaml | 2 +- deps/lld/test/mach-o/objc-image-info-unsupported-gc.yaml | 2 +- deps/lld/test/mach-o/objc_export_list.yaml | 2 +- deps/lld/test/mach-o/order_file-basic.yaml | 2 +- deps/lld/test/mach-o/parse-aliases.yaml | 2 +- deps/lld/test/mach-o/parse-arm-relocs.yaml | 4 +- deps/lld/test/mach-o/parse-cfstring32.yaml | 2 +- deps/lld/test/mach-o/parse-cfstring64.yaml | 2 +- deps/lld/test/mach-o/parse-compact-unwind32.yaml | 2 +- deps/lld/test/mach-o/parse-compact-unwind64.yaml | 2 +- deps/lld/test/mach-o/parse-data-in-code-armv7.yaml | 6 +- deps/lld/test/mach-o/parse-data-in-code-x86.yaml | 4 +- deps/lld/test/mach-o/parse-data-relocs-arm64.yaml | 4 +- deps/lld/test/mach-o/parse-data-relocs-x86_64.yaml | 4 +- deps/lld/test/mach-o/parse-data.yaml | 2 +- deps/lld/test/mach-o/parse-eh-frame-relocs-x86_64.yaml | 2 +- deps/lld/test/mach-o/parse-eh-frame-x86-anon.yaml | 2 +- deps/lld/test/mach-o/parse-eh-frame-x86-labeled.yaml | 2 +- deps/lld/test/mach-o/parse-eh-frame.yaml | 2 +- deps/lld/test/mach-o/parse-function.yaml | 4 +- deps/lld/test/mach-o/parse-initializers32.yaml | 2 +- deps/lld/test/mach-o/parse-initializers64.yaml | 2 +- deps/lld/test/mach-o/parse-literals-error.yaml | 2 +- deps/lld/test/mach-o/parse-literals.yaml | 2 +- deps/lld/test/mach-o/parse-non-lazy-pointers.yaml | 2 +- deps/lld/test/mach-o/parse-relocs-x86.yaml | 4 +- deps/lld/test/mach-o/parse-section-no-symbol.yaml | 2 +- deps/lld/test/mach-o/parse-tentative-defs.yaml | 2 +- deps/lld/test/mach-o/parse-text-relocs-arm64.yaml | 4 +- deps/lld/test/mach-o/parse-text-relocs-x86_64.yaml | 4 +- deps/lld/test/mach-o/parse-tlv-relocs-x86-64.yaml | 4 +- deps/lld/test/mach-o/re-exported-dylib-ordinal.yaml | 2 +- deps/lld/test/mach-o/rpath.yaml | 2 +- deps/lld/test/mach-o/run-tlv-pass-x86-64.yaml | 4 +- deps/lld/test/mach-o/sdk-version-error.yaml | 2 +- deps/lld/test/mach-o/sectalign.yaml | 2 +- deps/lld/test/mach-o/sectattrs.yaml | 2 +- deps/lld/test/mach-o/sectcreate.yaml | 2 +- deps/lld/test/mach-o/seg-protection-arm64.yaml | 2 +- deps/lld/test/mach-o/seg-protection-x86_64.yaml | 2 +- deps/lld/test/mach-o/source-version.yaml | 4 +- deps/lld/test/mach-o/stack-size.yaml | 8 +- deps/lld/test/mach-o/string-table.yaml | 2 +- deps/lld/test/mach-o/subsections-via-symbols-default.yaml | 2 +- deps/lld/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml | 2 +- deps/lld/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml | 4 +- deps/lld/test/mach-o/unwind-info-simple-arm64.yaml | 2 +- deps/lld/test/mach-o/unwind-info-simple-x86_64.yaml | 2 +- deps/lld/test/mach-o/upward-dylib-load-command.yaml | 4 +- deps/lld/test/mach-o/upward-dylib-paths.yaml | 2 +- deps/lld/test/mach-o/usage.yaml | 2 +- deps/lld/test/mach-o/use-dylib.yaml | 2 +- deps/lld/test/mach-o/use-simple-dylib.yaml | 2 +- deps/lld/test/mach-o/version-min-load-command-object.yaml | 6 +- deps/lld/test/mach-o/version-min-load-command.yaml | 14 +- deps/lld/test/mach-o/write-final-sections.yaml | 2 +- deps/lld/test/mach-o/wrong-arch-error.yaml | 2 +- deps/lld/test/wasm/Inputs/archive1.ll | 2 + deps/lld/test/wasm/Inputs/archive2.ll | 7 + deps/lld/test/wasm/Inputs/archive3.ll | 11 + deps/lld/test/wasm/Inputs/call-indirect.ll | 13 +- deps/lld/test/wasm/Inputs/comdat1.ll | 13 + deps/lld/test/wasm/Inputs/comdat2.ll | 13 + deps/lld/test/wasm/Inputs/custom.ll | 6 + deps/lld/test/wasm/Inputs/debuginfo1.ll | 68 + deps/lld/test/wasm/Inputs/debuginfo2.ll | 70 + deps/lld/test/wasm/Inputs/global-ctor-dtor.ll | 14 +- deps/lld/test/wasm/Inputs/globals.yaml | 54 + deps/lld/test/wasm/Inputs/hello.ll | 2 + deps/lld/test/wasm/Inputs/hidden.ll | 2 + deps/lld/test/wasm/Inputs/locals-duplicate1.ll | 51 + deps/lld/test/wasm/Inputs/locals-duplicate2.ll | 51 + deps/lld/test/wasm/Inputs/many-funcs.ll | 2 + deps/lld/test/wasm/Inputs/ret32.ll | 6 +- deps/lld/test/wasm/Inputs/ret64.ll | 4 +- deps/lld/test/wasm/Inputs/start.ll | 6 + deps/lld/test/wasm/Inputs/strong-symbol.ll | 6 + deps/lld/test/wasm/Inputs/undefined-globals.yaml | 52 + deps/lld/test/wasm/Inputs/weak-alias.ll | 2 + deps/lld/test/wasm/Inputs/weak-symbol1.ll | 2 + deps/lld/test/wasm/Inputs/weak-symbol2.ll | 2 + deps/lld/test/wasm/alias.ll | 88 + deps/lld/test/wasm/archive.ll | 56 +- deps/lld/test/wasm/call-indirect.ll | 119 +- deps/lld/test/wasm/comdats.ll | 99 + deps/lld/test/wasm/compress-relocs.ll | 22 + deps/lld/test/wasm/conflict.test | 4 +- deps/lld/test/wasm/custom-sections.ll | 22 + deps/lld/test/wasm/cxx-mangling.ll | 66 + deps/lld/test/wasm/data-layout.ll | 153 +- deps/lld/test/wasm/data-segment-merging.ll | 48 + deps/lld/test/wasm/debuginfo.test | 85 + deps/lld/test/wasm/demangle.ll | 17 + deps/lld/test/wasm/driver.ll | 22 + deps/lld/test/wasm/entry-signature.ll | 10 + deps/lld/test/wasm/entry.ll | 59 +- deps/lld/test/wasm/export-all.ll | 48 + deps/lld/test/wasm/export-table.test | 19 + deps/lld/test/wasm/export.ll | 37 + deps/lld/test/wasm/fatal-warnings.ll | 17 + deps/lld/test/wasm/function-imports-first.ll | 28 +- deps/lld/test/wasm/function-imports.ll | 25 +- deps/lld/test/wasm/function-index.test | 6 +- deps/lld/test/wasm/gc-imports.ll | 93 + deps/lld/test/wasm/gc-sections.ll | 153 + deps/lld/test/wasm/import-memory.test | 28 +- deps/lld/test/wasm/import-table.test | 18 + deps/lld/test/wasm/init-fini.ll | 315 +- deps/lld/test/wasm/invalid-stack-size.test | 9 +- deps/lld/test/wasm/load-undefined.ll | 38 - deps/lld/test/wasm/load-undefined.test | 40 + deps/lld/test/wasm/local-symbols.ll | 71 +- deps/lld/test/wasm/locals-duplicate.test | 568 + deps/lld/test/wasm/lto/Inputs/archive.ll | 6 + deps/lld/test/wasm/lto/Inputs/cache.ll | 10 + deps/lld/test/wasm/lto/Inputs/save-temps.ll | 6 + deps/lld/test/wasm/lto/Inputs/thinlto.ll | 7 + deps/lld/test/wasm/lto/Inputs/used.ll | 8 + deps/lld/test/wasm/lto/archive.ll | 25 + deps/lld/test/wasm/lto/atomics.ll | 14 + deps/lld/test/wasm/lto/cache.ll | 38 + deps/lld/test/wasm/lto/diagnostics.ll | 22 + deps/lld/test/wasm/lto/export.ll | 38 + deps/lld/test/wasm/lto/incompatible.ll | 8 + deps/lld/test/wasm/lto/internalize-basic.ll | 20 + deps/lld/test/wasm/lto/lto-start.ll | 18 + deps/lld/test/wasm/lto/opt-level.ll | 30 + deps/lld/test/wasm/lto/parallel.ll | 24 + deps/lld/test/wasm/lto/save-temps.ll | 19 + deps/lld/test/wasm/lto/thinlto.ll | 34 + deps/lld/test/wasm/lto/undef.ll | 20 + deps/lld/test/wasm/lto/used.ll | 45 + deps/lld/test/wasm/lto/verify-invalid.ll | 16 + deps/lld/test/wasm/lto/weak.ll | 16 + deps/lld/test/wasm/many-functions.ll | 1323 +- deps/lld/test/wasm/reloc-addend.ll | 19 + deps/lld/test/wasm/relocatable.ll | 239 +- deps/lld/test/wasm/responsefile.test | 10 + deps/lld/test/wasm/signature-mismatch-weak.ll | 18 + deps/lld/test/wasm/signature-mismatch.ll | 16 +- deps/lld/test/wasm/stack-first.test | 42 + deps/lld/test/wasm/stack-pointer.ll | 50 +- deps/lld/test/wasm/strip-debug.test | 4 +- deps/lld/test/wasm/symbol-type-mismatch.ll | 12 +- deps/lld/test/wasm/undefined-entry.test | 11 +- deps/lld/test/wasm/undefined-weak-call.ll | 120 + deps/lld/test/wasm/undefined.ll | 18 +- deps/lld/test/wasm/version.ll | 6 +- deps/lld/test/wasm/visibility-hidden.ll | 26 +- deps/lld/test/wasm/weak-alias-overide.ll | 106 +- deps/lld/test/wasm/weak-alias.ll | 273 +- deps/lld/test/wasm/weak-external.ll | 86 - deps/lld/test/wasm/weak-symbols.ll | 88 +- deps/lld/test/wasm/weak-undefined.ll | 107 + deps/lld/test/wasm/whole-archive.test | 34 + deps/lld/tools/lld/lld.cpp | 49 +- deps/lld/unittests/DriverTests/DarwinLdDriverTest.cpp | 9 +- deps/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp | 15 +- deps/lld/wasm/CMakeLists.txt | 16 +- deps/lld/wasm/Config.h | 24 +- deps/lld/wasm/Driver.cpp | 374 +- deps/lld/wasm/InputChunks.cpp | 295 + deps/lld/wasm/InputChunks.h | 236 + deps/lld/wasm/InputFiles.cpp | 462 +- deps/lld/wasm/InputFiles.h | 95 +- deps/lld/wasm/InputGlobal.h | 59 + deps/lld/wasm/InputSegment.cpp | 25 - deps/lld/wasm/InputSegment.h | 76 - deps/lld/wasm/LTO.cpp | 155 + deps/lld/wasm/LTO.h | 57 + deps/lld/wasm/MarkLive.cpp | 118 + deps/lld/wasm/MarkLive.h | 21 + deps/lld/wasm/Options.td | 119 +- deps/lld/wasm/OutputSections.cpp | 287 +- deps/lld/wasm/OutputSections.h | 50 +- deps/lld/wasm/OutputSegment.h | 28 +- deps/lld/wasm/SymbolTable.cpp | 390 +- deps/lld/wasm/SymbolTable.h | 43 +- deps/lld/wasm/Symbols.cpp | 240 +- deps/lld/wasm/Symbols.h | 337 +- deps/lld/wasm/Writer.cpp | 954 +- deps/lld/wasm/WriterUtils.cpp | 113 +- deps/lld/wasm/WriterUtils.h | 46 +- src/codegen.cpp | 107 +- src/target.cpp | 17 +- src/target.hpp | 3 +- src/translate_c.cpp | 58 +- src/zig_llvm.cpp | 21 +- src/zig_llvm.h | 17 +- std/math/isnan.zig | 4 +- std/math/log1p.zig | 1 + 1739 files changed, 89580 insertions(+), 57035 deletions(-)