summaryrefslogtreecommitdiff
path: root/scripts/test/support.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-04-08 09:23:21 -0700
committerGitHub <noreply@github.com>2020-04-08 09:23:21 -0700
commit7531e7b46c2889bd8a1cbe9227a1e306f6c7c0aa (patch)
tree7bac0b7739093ed8fd819b4103b2971a85daf569 /scripts/test/support.py
parentc8a1489f2720ccde4aa79f68f4bb75cc1b20d579 (diff)
downloadbinaryen-7531e7b46c2889bd8a1cbe9227a1e306f6c7c0aa.tar.gz
binaryen-7531e7b46c2889bd8a1cbe9227a1e306f6c7c0aa.tar.bz2
binaryen-7531e7b46c2889bd8a1cbe9227a1e306f6c7c0aa.zip
Work around a compiler issue on MacOS (#2730)
The post-commit Mac bot on github failed to compile #2727 with Undefined symbols for architecture x86_64: "wasm::ReorderLocals::UNSEEN", referenced from: wasm::ReorderLocals::doWalkFunction(wasm::Function*) in ReorderLocals.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) That seems odd, it's defined like this? static const Index UNSEEN = -1; Perhaps we are hitting a weird compiler bug. Anyhow, just use an enum to be safe. Also for clarity switch to 0 for the unseen value.
Diffstat (limited to 'scripts/test/support.py')
0 files changed, 0 insertions, 0 deletions