- Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
Description
| Bugzilla Link | 48905 |
| Resolution | FIXED |
| Resolved on | Jan 29, 2021 22:19 |
| Version | trunk |
| OS | All |
| Blocks | #48246 |
| CC | @dwblaikie,@MaskRay,@tstellar |
| Fixed by commit(s) | 6612c2b 8d22f25 |
Extended Description
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.