Skip to content

Instantly share code, notes, and snippets.

@TerrorJack
Last active June 16, 2023 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TerrorJack/45a65e12789069227b0872c6424f2844 to your computer and use it in GitHub Desktop.
Save TerrorJack/45a65e12789069227b0872c6424f2844 to your computer and use it in GitHub Desktop.
#!/bin/sh
creduce --n 48 --not-c --sllooww --remove-pass pass_clex rename-toks --remove-pass pass_clang rename-fun test.mjs test.s
#!/usr/bin/env bash
set -uxo pipefail
timeout --signal=SIGKILL 10s \
/workspace/llvm-project/build/bin/llvm-mc \
--triple=wasm32-wasi \
-filetype=obj \
-no-type-check \
test.s \
-o \
test.o \
&> test.txt
grep -F 'UNREACHABLE executed at /workspace/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp:162!' test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment