bjorn3 opened Issue #2630:
Repro
Using the x64 newBE compile a function without any value labels. Then call
Context::build_value_labels_ranges
.Result
Panic because encodings aren't used for new style backends.
thread 'rustc' panicked at 'Should not be called when new-style backend is available!', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/256cc8a/cranelift/codegen/src/machinst/adapter.rs:93:9 stack backtrace: 0: std::panicking::begin_panic 1: <cranelift_codegen::machinst::adapter::TargetIsaAdapter as cranelift_codegen::isa::TargetIsa>::encoding_info 2: cranelift_codegen::value_label::build_value_labels_ranges 3: cranelift_codegen::context::Context::build_value_labels_ranges
Expected
An empty
ValueLabelsRanges
map is returned.
bjorn3 labeled Issue #2630:
Repro
Using the x64 newBE compile a function without any value labels. Then call
Context::build_value_labels_ranges
.Result
Panic because encodings aren't used for new style backends.
thread 'rustc' panicked at 'Should not be called when new-style backend is available!', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/256cc8a/cranelift/codegen/src/machinst/adapter.rs:93:9 stack backtrace: 0: std::panicking::begin_panic 1: <cranelift_codegen::machinst::adapter::TargetIsaAdapter as cranelift_codegen::isa::TargetIsa>::encoding_info 2: cranelift_codegen::value_label::build_value_labels_ranges 3: cranelift_codegen::context::Context::build_value_labels_ranges
Expected
An empty
ValueLabelsRanges
map is returned.
bjorn3 labeled Issue #2630:
Repro
Using the x64 newBE compile a function without any value labels. Then call
Context::build_value_labels_ranges
.Result
Panic because encodings aren't used for new style backends.
thread 'rustc' panicked at 'Should not be called when new-style backend is available!', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/256cc8a/cranelift/codegen/src/machinst/adapter.rs:93:9 stack backtrace: 0: std::panicking::begin_panic 1: <cranelift_codegen::machinst::adapter::TargetIsaAdapter as cranelift_codegen::isa::TargetIsa>::encoding_info 2: cranelift_codegen::value_label::build_value_labels_ranges 3: cranelift_codegen::context::Context::build_value_labels_ranges
Expected
An empty
ValueLabelsRanges
map is returned.
bjorn3 edited Issue #2630:
Repro
Using the x64 newBE compile a function without any value labels. Then call
Context::build_value_labels_ranges
.Result
Panic because encodings aren't used for new style backends.
thread 'rustc' panicked at 'Should not be called when new-style backend is available!', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/256cc8a/cranelift/codegen/src/machinst/adapter.rs:93:9 stack backtrace: 0: std::panicking::begin_panic 1: <cranelift_codegen::machinst::adapter::TargetIsaAdapter as cranelift_codegen::isa::TargetIsa>::encoding_info 2: cranelift_codegen::value_label::build_value_labels_ranges 3: cranelift_codegen::context::Context::build_value_labels_ranges
Expected
An empty
ValueLabelsRanges
map is returned.
cfallin closed Issue #2630:
Repro
Using the x64 newBE compile a function without any value labels. Then call
Context::build_value_labels_ranges
.Result
Panic because encodings aren't used for new style backends.
thread 'rustc' panicked at 'Should not be called when new-style backend is available!', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/256cc8a/cranelift/codegen/src/machinst/adapter.rs:93:9 stack backtrace: 0: std::panicking::begin_panic 1: <cranelift_codegen::machinst::adapter::TargetIsaAdapter as cranelift_codegen::isa::TargetIsa>::encoding_info 2: cranelift_codegen::value_label::build_value_labels_ranges 3: cranelift_codegen::context::Context::build_value_labels_ranges
Expected
An empty
ValueLabelsRanges
map is returned.
Last updated: Nov 22 2024 at 16:03 UTC