| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d61977f commit e155b1f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,8 @@ if (process.argv[2] === 'child') { | |||
| 17 | 17 | const child = spawnSync(process.execPath, | |
| 18 | 18 | ['--expose-internals', __filename, 'child'], | |
| 19 | 19 | { stdio: 'inherit' }); | |
| 20 | - // FreeBSD and macOS use SIGILL for the kind of crash we're causing here. | ||
| 20 | + // FreeBSD uses SIGILL for this kind of crash. | ||
| 21 | + // macOS uses SIGILL or SIGTRAP (arm64) for this kind of crash. | ||
| 21 | 22 | assert(child.signal === 'SIGSEGV' || child.signal === 'SIGILL' || | |
| 22 | 23 | child.signal === 'SIGTRAP', `child.signal = ${child.signal}`); | |
| 23 | 24 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments