[llvm] [WebAssembly] Add symbol information for shared libraries (PR #75238)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 12 11:30:44 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 31cf6df06febdf2483d224d2c9657497cac7d41f a06af6da9977a6057dc42006beb49b9263799b27 -- llvm/include/llvm/Object/Wasm.h llvm/lib/Object/WasmObjectFile.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Object/WasmObjectFile.cpp b/llvm/lib/Object/WasmObjectFile.cpp
index 07599d2644..05bd7302c4 100644
--- a/llvm/lib/Object/WasmObjectFile.cpp
+++ b/llvm/lib/Object/WasmObjectFile.cpp
@@ -1359,8 +1359,8 @@ Error WasmObjectFile::parseExportSection(ReadContext &Ctx) {
Exports.push_back(Ex);
if (Ex.Kind != wasm::WASM_EXTERNAL_MEMORY) {
LinkingData.SymbolTable.emplace_back(Info);
- Symbols.emplace_back(LinkingData.SymbolTable.back(), GlobalType, TableType,
- Signature);
+ Symbols.emplace_back(LinkingData.SymbolTable.back(), GlobalType,
+ TableType, Signature);
LLVM_DEBUG(dbgs() << "Adding symbol: " << Symbols.back() << "\n");
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/75238
More information about the llvm-commits
mailing list