Skip to content

Commit 3402571

Browse files
committed
fix: remove DebugNameTableKind::Apple as it's on LLVM 17+
1 parent 42c9797 commit 3402571

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ pub mod debuginfo {
801801
Default,
802802
Gnu,
803803
None,
804-
Apple,
805804
}
806805
}
807806

compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,6 @@ enum class LLVMRustDebugNameTableKind {
723723
Default,
724724
GNU,
725725
None,
726-
Apple,
727726
};
728727

729728
static DICompileUnit::DebugNameTableKind fromRust(LLVMRustDebugNameTableKind Kind) {
@@ -734,8 +733,6 @@ static DICompileUnit::DebugNameTableKind fromRust(LLVMRustDebugNameTableKind Kin
734733
return DICompileUnit::DebugNameTableKind::GNU;
735734
case LLVMRustDebugNameTableKind::None:
736735
return DICompileUnit::DebugNameTableKind::None;
737-
case LLVMRustDebugNameTableKind::Apple:
738-
return DICompileUnit::DebugNameTableKind::Apple;
739736
default:
740737
report_fatal_error("bad DebugNameTableKind.");
741738
}

0 commit comments

Comments
 (0)