[llvm] [llvm-readobj][AArch64][ELF][PAC] Support ELF AUTH constants (PR #72713)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 17 14:35: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 a30e9a1a57bd1d9ee13362d85b9355d38eac3d12 a1beedca4535d63aae4f49b1b3bb4bf03124f169 -- llvm/include/llvm/BinaryFormat/ELF.h llvm/lib/Object/ELF.cpp llvm/lib/ObjectYAML/ELFYAML.cpp llvm/tools/llvm-readobj/ELFDumper.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp b/llvm/tools/llvm-readobj/ELFDumper.cpp
index da139b49d6..d8783c97f2 100644
--- a/llvm/tools/llvm-readobj/ELFDumper.cpp
+++ b/llvm/tools/llvm-readobj/ELFDumper.cpp
@@ -6295,7 +6295,8 @@ void ELFDumper<ELFT>::forEachRelocationDo(
break;
case ELF::SHT_AARCH64_AUTH_RELR:
if (Obj.getHeader().e_machine != EM_AARCH64) {
- this->reportUniqueWarning("SHT_AARCH64_AUTH_RELR section in non-AArch64 ELF found, skipping");
+ this->reportUniqueWarning(
+ "SHT_AARCH64_AUTH_RELR section in non-AArch64 ELF found, skipping");
break;
}
[[fallthrough]];
``````````
</details>
https://github.com/llvm/llvm-project/pull/72713
More information about the llvm-commits
mailing list