| 1 |
// runindir |
| 2 |
|
| 3 |
// Copyright 2022 The Go Authors. All rights reserved. |
| 4 |
// Use of this source code is governed by a BSD-style |
| 5 |
// license that can be found in the LICENSE file. |
| 6 |
|
| 7 |
// Issue 11656: runtime: jump to bad PC missing good traceback |
| 8 |
|
| 9 |
// windows doesn't work, because Windows exception handling |
| 10 |
// delivers signals based on the current PC, and that current PC |
| 11 |
// doesn't go into the Go runtime. |
| 12 |
|
| 13 |
// wasm does not work, because the linear memory is not executable. |
| 14 |
|
| 15 |
// This test doesn't work on gccgo/GoLLVM, because they will not find |
| 16 |
// any unwind information for the artificial function, and will not be |
| 17 |
// able to unwind past that point. |
| 18 |
|
| 19 |
//go:build !windows && !wasm && !gccgo |
| 20 |
|
| 21 |
package ignored |