[lld] [LLD][COFF] Emit warnings for missing load config on EC targets (PR #121339)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 30 06:15:34 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 60d20603e43a53b1d495d199ea020c3a56a6866f 3cd5e5de96fcff1a5452d0cacbae65f6f61364ee --extensions cpp -- lld/COFF/SymbolTable.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp
index 2f21f3cea7..e47540c68b 100644
--- a/lld/COFF/SymbolTable.cpp
+++ b/lld/COFF/SymbolTable.cpp
@@ -606,7 +606,8 @@ void SymbolTable::initializeLoadConfig() {
return;
}
if (ctx.hybridSymtab) {
- Warn(ctx) << "native version of '_load_config_used' is missing for ARM64X target";
+ Warn(ctx) << "native version of '_load_config_used' is missing for "
+ "ARM64X target";
return;
}
if (ctx.config.guardCF != GuardCFLevel::Off)
``````````
</details>
https://github.com/llvm/llvm-project/pull/121339
More information about the llvm-commits
mailing list