Changes

Summary

  1. [lld][WebAssembly] Fix crash calling weakly undefined function in PIC code (details)
  2. [clang][AST] Make `getLocalOrImportedSubmoduleID` work with const `Module*`. NFC. (details)
Commit d01e673a9f046913070bd950183480c9bd15956b by sbc
[lld][WebAssembly] Fix crash calling weakly undefined function in PIC code

Differential Revision: https://reviews.llvm.org/D104495
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/test/wasm/weak-undefined-pic.s
The file was modifiedlld/wasm/Writer.cpp
Commit 722c51473c7a3bfe13d929734615a3b46d44c09a by vsapsai
[clang][AST] Make `getLocalOrImportedSubmoduleID` work with const `Module*`. NFC.

Differential Revision: https://reviews.llvm.org/D104350
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Serialization/ASTWriter.h