mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 20:37:25 +03:00
Drop support for LLVM 14
Mainly because opaque IR pointers appear buggy in LLVM 14 (LLVM crashes when compiling druntime).
This commit is contained in:
parent
3067b7b115
commit
2cd14c59dd
30 changed files with 18 additions and 8934 deletions
|
@ -1139,11 +1139,7 @@ void DtoDefineFunction(FuncDeclaration *fd, bool linkageAvailableExternally) {
|
|||
|
||||
// function attributes
|
||||
if (gABI->needsUnwindTables()) {
|
||||
#if LDC_LLVM_VER >= 1500
|
||||
func->setUWTableKind(llvm::UWTableKind::Default);
|
||||
#else
|
||||
func->addFnAttr(LLAttribute::UWTable);
|
||||
#endif
|
||||
}
|
||||
if (opts::isAnySanitizerEnabled() &&
|
||||
!opts::functionIsInSanitizerBlacklist(fd)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue