Merge pull request #2718 from cfallin/new-backend

Switch default to new x86_64 backend.
This commit is contained in:
Chris Fallin
2021-04-05 09:38:08 -07:00
committed by GitHub
243 changed files with 316 additions and 442 deletions

View File

@@ -141,7 +141,7 @@ check: exited with status
// Ignore test on new backend. The value this is looking for is
// not available at the point that the breakpoint is set when
// compiled by the new backend.
not(feature = "experimental_x64"),
feature = "old-x86-backend",
))]
pub fn test_debug_dwarf_ptr() -> Result<()> {
let output = lldb_with_script(

View File

@@ -118,7 +118,7 @@ check: DW_AT_decl_line (10)
// Ignore test on new backend. This is a specific test with hardcoded
// offsets and the new backend compiles the return basic-block at a different
// offset, causing mismatches.
not(feature = "experimental_x64"),
feature = "old-x86-backend",
))]
fn test_debug_dwarf5_translate_lines() -> Result<()> {
check_line_program(

View File

@@ -27,8 +27,6 @@ fn test_trap_return() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn test_trap_trace() -> Result<()> {
let store = Store::default();
let wat = r#"
@@ -66,8 +64,6 @@ fn test_trap_trace() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn test_trap_trace_cb() -> Result<()> {
let store = Store::default();
let wat = r#"
@@ -99,8 +95,6 @@ fn test_trap_trace_cb() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn test_trap_stack_overflow() -> Result<()> {
let store = Store::default();
let wat = r#"
@@ -128,8 +122,6 @@ fn test_trap_stack_overflow() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn trap_display_pretty() -> Result<()> {
let store = Store::default();
let wat = r#"
@@ -161,8 +153,6 @@ wasm backtrace:
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn trap_display_multi_module() -> Result<()> {
let store = Store::default();
let wat = r#"
@@ -207,8 +197,6 @@ wasm backtrace:
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn trap_start_function_import() -> Result<()> {
let store = Store::default();
let binary = wat::parse_str(
@@ -235,8 +223,6 @@ fn trap_start_function_import() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn rust_panic_import() -> Result<()> {
let store = Store::default();
let binary = wat::parse_str(
@@ -278,8 +264,6 @@ fn rust_panic_import() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn rust_panic_start_function() -> Result<()> {
let store = Store::default();
let binary = wat::parse_str(
@@ -313,8 +297,6 @@ fn rust_panic_start_function() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn mismatched_arguments() -> Result<()> {
let store = Store::default();
let binary = wat::parse_str(
@@ -346,8 +328,6 @@ fn mismatched_arguments() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn call_signature_mismatch() -> Result<()> {
let store = Store::default();
let binary = wat::parse_str(
@@ -378,8 +358,6 @@ fn call_signature_mismatch() -> Result<()> {
}
#[test]
#[cfg_attr(all(target_os = "windows", target_arch = "aarch64"), ignore)] // FIXME(#1642)
#[cfg_attr(all(target_os = "windows", feature = "experimental_x64"), ignore)] // FIXME(#2079)
fn start_trap_pretty() -> Result<()> {
let store = Store::default();
let wat = r#"