[llvm-bugs] [Bug 48905] New: llvm-c breaking changes to LLVMTypeKind and LLVMValueKind

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 27 13:14:16 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48905

            Bug ID: 48905
           Summary: llvm-c breaking changes to LLVMTypeKind and
                    LLVMValueKind
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: jistone at redhat.com
                CC: llvm-bugs at lists.llvm.org

Compared to LLVM 11, both of these enums have broken the C ABI by adding
variants in the middle, rather than extending the end. This changes the raw
value of all variants that follow the new additions.

- LLVMTypeKind added LLVMX86_AMXTypeKind
- LLVMValueKind added LLVMPoisonValueValueKind

I know that the ABI stability of llvm-c is only best-effort, but Core.h is
usually steady, and it's a simple fix to move these additions to the end.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210127/53a1e430/attachment.html>


More information about the llvm-bugs mailing list