[lld] [LLD][COFF] Add S_THUNK32 PDB records for all ARM64EC import thunks (PR #115310)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 04:51:53 PST 2024


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 dafbc97594c26da67e34ba0301a6126419ae4604 cb1c5a541f95a8a3e08f5f97809464959069e866 --extensions cpp -- lld/COFF/PDB.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lld/COFF/PDB.cpp b/lld/COFF/PDB.cpp
index 4af2270c0f..985528ed42 100644
--- a/lld/COFF/PDB.cpp
+++ b/lld/COFF/PDB.cpp
@@ -1600,8 +1600,8 @@ void PDBLinker::addImportFilesToPDB() {
 
       mod->addSymbol(newSym);
 
-      newSym = codeview::SymbolSerializer::writeOneSymbol(es, bAlloc,
-                                                          CodeViewContainer::Pdb);
+      newSym = codeview::SymbolSerializer::writeOneSymbol(
+          es, bAlloc, CodeViewContainer::Pdb);
       thunkSymScope->ptrEnd = mod->getNextSymbolOffset();
 
       mod->addSymbol(newSym);

``````````

</details>


https://github.com/llvm/llvm-project/pull/115310


More information about the llvm-commits mailing list