Files
compiler-explorer/etc/config/wasm.amazon.properties
T
Afonso Bordado bcd773cd55 Update llvm-objdump for Webassembly (#6589)
👋 Hey,

The Webassembly language was recently added (in #6429). I tested it
today on the live enviornment, and it appears to not be working
(example: https://godbolt.org/z/YP5KdscEM).

I don't really know how to debug this, there is no other output other
than `objdump returned 255` which doesn't tell me a whole lot. (If
someone can help me investigate this it would be appreciated)

Looking at the configs for the other languages, they always specify a
objdump binary in the `/opt` path, so maybe `llvm-objdump` is not
available in the system?

This PR attempts to fix it by changing to a fixed version of
`llvm-objdump` in the `/opt` install path. (I've also double checked,
and that version does work locally)
2024-06-11 08:15:40 -05:00

22 lines
765 B
Properties

compilers=&wasmtime
objdumper=/opt/compiler-explorer/clang-18.1.0/bin/llvm-objdump
objdumperType=llvm
binaryHideFuncRe=^.*::(:?native_to_wasm_trampoline|wasm_to_native_trampoline|array_to_wasm_trampoline).*$
group.wasmtime.compilers=wasmtime2001
group.wasmtime.compilerType=wasmtime
group.wasmtime.options=-Ddebug-info=y -Ccache=n
group.wasmtime.supportsBinary=true
group.wasmtime.supportsBinaryObject=true
group.wasmtime.versionFlag=--version
group.wasmtime.isSemVer=true
group.wasmtime.baseName=Wasmtime
compiler.wasmtime2001.exe=/opt/compiler-explorer/wasmtime-20.0.1/wasmtime
compiler.wasmtime2001.semver=20.0.1
#################################
#################################
# Installed libs (See c++.amazon.properties for a scheme of libs group)
libs=