Mark return value as define instead of clobber for TLS pseudoinstructions (#4357)

This commit is contained in:
bjorn3
2022-06-30 19:44:51 +02:00
committed by GitHub
parent b4830ef1e7
commit d1446f767d
5 changed files with 15 additions and 13 deletions

View File

@@ -4840,7 +4840,7 @@ fn test_x64_emit() {
},
},
"66488D3D00000000666648E800000000",
"elf_tls_get_addr User { namespace: 0, index: 0 }",
"%rax = elf_tls_get_addr User { namespace: 0, index: 0 }",
));
insns.push((
@@ -4851,7 +4851,7 @@ fn test_x64_emit() {
},
},
"488B3D00000000FF17",
"macho_tls_get_addr User { namespace: 0, index: 0 }",
"%rax = macho_tls_get_addr User { namespace: 0, index: 0 }",
));
// ========================================================