# Crash reproducer for clang version 22.0.0git
# Driver args: "--driver-mode=g++" "-target" "wasm32-unknown-emscripten" "-pthread" "-mllvm" "-combiner-global-alias-analysis=false" "-mllvm" "-enable-emscripten-cxx-exceptions" "-mllvm" "-enable-emscripten-sjlj" "-mllvm" "-disable-lsr" "--sysroot=/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot" "-D" "__EMSCRIPTEN_SHARED_MEMORY__=1" "-D" "EMSCRIPTEN" "-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include/SDL2" "-Xclang" "-iwithsysroot/include/compat" "-std=c++17" "-Wall" "-pedantic" "-Wextra" "-Os" "-I" "/data/data/com.termux/files/home/opt/emscripten/pthreads-exceptions/include" "-I" "../emscripten-browser-clipboard" "-I" "../emscripten-browser-file" "-MMD" "-fexceptions" "-g" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILEBROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-D" "EMSCRIPTEN_BROWSER_CLIPBOARD_GIT_VERSION_STRING=\"bcba48f\"" "-D" "EMSCRIPTEN_BROWSER_FILE_GIT_VERSION_STRING=\"ffd21d1+\"" "-D" "INFLECTOR_GADGET_VERSION_STRING=\"0.9-5-gfde7b4d+\"" "-I" "include" "-I" "../imgui" "-I" "../imgui/backends" "-I" "../imgui-filebrowser" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILE_BROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-o" "png.web.o" "-c" "png.cc"
# Original command:  "/data/data/com.termux/files/usr/opt/emscripten-llvm/bin/clang-22" "-cc1" "-triple" "wasm32-unknown-emscripten" "-Os" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "png.cc" "-mrelocation-model" "static" "-mframe-pointer=none" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-target-feature" "+atomics" "-target-feature" "+bulk-memory" "-target-feature" "+mutable-globals" "-target-feature" "+sign-ext" "-target-cpu" "generic" "-fvisibility=hidden" "-debug-info-kind=constructor" "-dwarf-version=4" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/data/data/com.termux/files/home/code/inflector-gadget/src" "-fcoverage-compilation-dir=/data/data/com.termux/files/home/code/inflector-gadget/src" "-resource-dir" "/data/data/com.termux/files/usr/opt/emscripten-llvm/lib/clang/22" "-dependency-file" "png.web.d" "-MT" "png.web.o" "-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include/SDL2" "-D" "__EMSCRIPTEN_SHARED_MEMORY__=1" "-D" "EMSCRIPTEN" "-I" "/data/data/com.termux/files/home/opt/emscripten/pthreads-exceptions/include" "-I" "../emscripten-browser-clipboard" "-I" "../emscripten-browser-file" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILEBROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-D" "EMSCRIPTEN_BROWSER_CLIPBOARD_GIT_VERSION_STRING=\"bcba48f\"" "-D" "EMSCRIPTEN_BROWSER_FILE_GIT_VERSION_STRING=\"ffd21d1+\"" "-D" "INFLECTOR_GADGET_VERSION_STRING=\"0.9-5-gfde7b4d+\"" "-I" "include" "-I" "../imgui" "-I" "../imgui/backends" "-I" "../imgui-filebrowser" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILE_BROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-isysroot" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot" "-internal-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include/wasm32-emscripten/c++/v1" "-internal-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include/c++/v1" "-internal-isystem" "/data/data/com.termux/files/usr/opt/emscripten-llvm/lib/clang/22/include" "-internal-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include/wasm32-emscripten" "-internal-isystem" "/data/data/com.termux/files/usr/opt/emscripten/cache/sysroot/include" "-Wall" "-Wextra" "-pedantic" "-std=c++17" "-fdeprecated-macro" "-ferror-limit" "19" "-pthread" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-vectorize-loops" "-vectorize-slp" "-iwithsysroot/include/compat" "-mllvm" "-combiner-global-alias-analysis=false" "-mllvm" "-enable-emscripten-cxx-exceptions" "-mllvm" "-enable-emscripten-sjlj" "-mllvm" "-disable-lsr" "-o" "png.web.o" "-x" "c++" "png.cc"
 "/data/data/com.termux/files/usr/opt/emscripten-llvm/bin/clang-22" "-cc1" "-triple" "wasm32-unknown-emscripten" "-Os" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "png.cc" "-mrelocation-model" "static" "-mframe-pointer=none" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-target-feature" "+atomics" "-target-feature" "+bulk-memory" "-target-feature" "+mutable-globals" "-target-feature" "+sign-ext" "-target-cpu" "generic" "-fvisibility=hidden" "-debug-info-kind=constructor" "-dwarf-version=4" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/data/data/com.termux/files/home/code/inflector-gadget/src" "-fcoverage-compilation-dir=/data/data/com.termux/files/home/code/inflector-gadget/src" "-D" "__EMSCRIPTEN_SHARED_MEMORY__=1" "-D" "EMSCRIPTEN" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILEBROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-D" "EMSCRIPTEN_BROWSER_CLIPBOARD_GIT_VERSION_STRING=\"bcba48f\"" "-D" "EMSCRIPTEN_BROWSER_FILE_GIT_VERSION_STRING=\"ffd21d1+\"" "-D" "INFLECTOR_GADGET_VERSION_STRING=\"0.9-5-gfde7b4d+\"" "-D" "IMGUI_GIT_VERSION_STRING=\"v1.92.2b-20-ga309d2dc\"" "-D" "IMGUI_FILE_BROWSER_GIT_VERSION_STRING=\"bfa56e9\"" "-Wall" "-Wextra" "-pedantic" "-std=c++17" "-fdeprecated-macro" "-ferror-limit" "19" "-pthread" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-vectorize-loops" "-vectorize-slp" "-iwithsysroot/include/compat" "-mllvm" "-combiner-global-alias-analysis=false" "-mllvm" "-enable-emscripten-cxx-exceptions" "-mllvm" "-enable-emscripten-sjlj" "-mllvm" "-disable-lsr" "-x" "c++" "png-f665b6.cpp"
