Merge pull request #17637 from jacobly0/x86_64-test-std

x86_64: start to enable `test-std` and `test-compiler-rt` testing
This commit is contained in:
Jacob Young
2023-10-22 08:06:47 -04:00
committed by GitHub
150 changed files with 1694 additions and 183 deletions

View File

@@ -545,7 +545,7 @@ pub fn generateSymbol(
if (layout.payload_size == 0) {
return generateSymbol(bin_file, src_loc, .{
.ty = typed_value.ty.unionTagType(mod).?,
.ty = typed_value.ty.unionTagTypeSafety(mod).?,
.val = un.tag.toValue(),
}, code, debug_output, reloc_info);
}
@@ -553,7 +553,7 @@ pub fn generateSymbol(
// Check if we should store the tag first.
if (layout.tag_size > 0 and layout.tag_align.compare(.gte, layout.payload_align)) {
switch (try generateSymbol(bin_file, src_loc, .{
.ty = typed_value.ty.unionTagType(mod).?,
.ty = typed_value.ty.unionTagTypeSafety(mod).?,
.val = un.tag.toValue(),
}, code, debug_output, reloc_info)) {
.ok => {},