@@ -6720,8 +6720,6 @@ pub const FuncGen = struct {
6720
6720
const operand_ty = self.typeOf(pl_op.operand);
6721
6721
const name = self.air.nullTerminatedString(pl_op.payload);
6722
6722
6723
- if (needDbgVarWorkaround(o)) return .none;
6724
-
6725
6723
const debug_local_var = try o.builder.debugLocalVar(
6726
6724
try o.builder.metadataString(name),
6727
6725
self.file,
@@ -8826,7 +8824,6 @@ pub const FuncGen = struct {
8826
8824
if (self.is_naked) return arg_val;
8827
8825
8828
8826
const inst_ty = self.typeOfIndex(inst);
8829
- if (needDbgVarWorkaround(o)) return arg_val;
8830
8827
8831
8828
const name = self.air.instructions.items(.data)[@intFromEnum(inst)].arg.name;
8832
8829
if (name == .none) return arg_val;
@@ -11815,16 +11812,6 @@ const optional_layout_version = 3;
11815
11812
11816
11813
const lt_errors_fn_name = "__zig_lt_errors_len";
11817
11814
11818
- /// Without this workaround, LLVM crashes with "unknown codeview register H1"
11819
- /// https://github.com/llvm/llvm-project/issues/56484
11820
- fn needDbgVarWorkaround(o: *Object) bool {
11821
- const target = o.pt.zcu.getTarget();
11822
- if (target.os.tag == .windows and target.cpu.arch == .aarch64) {
11823
- return true;
11824
- }
11825
- return false;
11826
- }
11827
-
11828
11815
fn compilerRtIntBits(bits: u16) u16 {
11829
11816
inline for (.{ 32, 64, 128 }) |b| {
11830
11817
if (bits <= b) {
0 commit comments