[llvm-bugs] [Bug 27518] New: Fuzz failures on wasm backend

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 25 11:30:05 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27518

            Bug ID: 27518
           Summary: Fuzz failures on wasm backend
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: alonzakai at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The emscripten test suite has a bunch of fuzz tests, and the wasm backend fails
on several. The smallest is 3.c.

STR: in emscripten (with .emscripten set up to use latest vanilla llvm)

./emcc tests/fuzz/3.c -I tests/fuzz/include/ -w
clang tests/fuzz/3.c -I tests/fuzz/include/ -w
nodejs a.out.js
./a.out

The outputs should be identical, but are

checksum = FFFFFFFFEE4B2FFC
checksum = EE4B2FFC

This is csmith output, so running with argument '1' will print out the
intermediate hash results, which is helpful sometimes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160425/77c4d961/attachment.html>


More information about the llvm-bugs mailing list