[llvm] [Support][Object/ELF][NFC] Use new enum table (PR #206068)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 08:25:22 PDT 2026


github-actions[bot] wrote:

<!--LLVM IDS CHECK COMMENT-->


:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
Build idt from compnerd/ids, then for each changed header:
    idt -p build/ --main-file <matching-source.cpp> \
        --apply-fixits --inplace <header>
``````````

</details>

<details>
<summary>
View the diff from ids-check here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/Object/ELFObjectFile.h b/llvm/include/llvm/Object/ELFObjectFile.h
index a511271e3..297cb6917 100644
--- a/llvm/include/llvm/Object/ELFObjectFile.h
+++ b/llvm/include/llvm/Object/ELFObjectFile.h
@@ -45,7 +45,7 @@ template <typename T> class SmallVectorImpl;
 
 namespace object {
 
-EnumStrings<uint8_t, 2> getElfSymbolTypes();
+LLVM_ABI EnumStrings<uint8_t, 2> getElfSymbolTypes();
 
 class elf_symbol_iterator;
 

``````````

</details>


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


More information about the llvm-commits mailing list