AbortedChanges

Summary

  1. [lld][WebAssembly] Error on import/export of mutable global without `mutable-globals` feature (details)
  2. [ARM] Add tests for fmin/max + inf folds (NFC) (details)
  3. [lld][WebAssembly] Add initial support for -Map/--print-map (details)
  4. [gn build] Port cc2da5554b5 (details)
Commit 04febd30a8dab3ff4b6e6032f1a1a9f4725f8267 by sbc
[lld][WebAssembly] Error on import/export of mutable global without `mutable-globals` feature

Also add the +mutable-globals features in clang when
building with `-fPIC` since the linker will generate mutable
globals imports and exports in that case.

Differential Revision: https://reviews.llvm.org/D87537
The file was addedlld/test/wasm/mutable-globals.s
The file was modifiedlld/test/wasm/emit-relocs-fpic.s
The file was modifiedclang/test/Driver/wasm-toolchain.c
The file was modifiedlld/test/wasm/gc-imports.s
The file was modifiedlld/test/wasm/Inputs/undefined-globals.s
The file was modifiedlld/test/wasm/pie.ll
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/shared.ll
Commit c2f8bc986fb39f6a72aafd5dd0d31ec29ad8ce9b by nikita.ppv
[ARM] Add tests for fmin/max + inf folds (NFC)
The file was modifiedllvm/test/CodeGen/ARM/fminmax-folds.ll
Commit cc2da5554b5ee5d5939222af263699a9d0bf2049 by sbc
[lld][WebAssembly] Add initial support for -Map/--print-map

Differential Revision: https://reviews.llvm.org/D77187
The file was modifiedlld/test/wasm/early-exit-for-bad-paths.s
The file was modifiedlld/wasm/Options.td
The file was modifiedlld/test/ELF/map-file.s
The file was addedlld/wasm/MapFile.h
The file was modifiedlld/wasm/CMakeLists.txt
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/wasm/OutputSections.h
The file was addedlld/test/wasm/map-file.s
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was addedlld/wasm/MapFile.cpp
The file was modifiedlld/wasm/Config.h
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/InputChunks.h
Commit 70daa353e2ae722beddbab02f9a34988c855f318 by llvmgnsyncbot
[gn build] Port cc2da5554b5
The file was modifiedllvm/utils/gn/secondary/lld/wasm/BUILD.gn