Skip to content

Instantly share code, notes, and snippets.

@jacquelinekay
Created May 25, 2017 21:05
Show Gist options
  • Save jacquelinekay/23491ca6609a22ac8e0cdf5cc00d9ecc to your computer and use it in GitHub Desktop.
Save jacquelinekay/23491ca6609a22ac8e0cdf5cc00d9ecc to your computer and use it in GitHub Desktop.
run script for clang error with deduced return type
# Crash reproducer for clang version 5.0.0 (https://github.com/matus-chochlik/clang.git 12b1c25b3957bf3d5a598f0f3f7d7d54b546abc6) (llvm/trunk 303273)
# Driver args: "--driver-mode=g++" "crash.cpp" "-std=c++1z"
# Original command: "/usr/local/bin/clang-5.0" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "crash.cpp" "-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debugger-tuning=gdb" "-resource-dir" "/usr/local/lib/clang/5.0.0" "-internal-isystem" "/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/7.0.1/../../../../include/c++/7.0.1" "-internal-isystem" "/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/7.0.1/../../../../include/c++/7.0.1/x86_64-pc-linux-gnu" "-internal-isystem" "/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/7.0.1/../../../../include/c++/7.0.1/backward" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/local/lib/clang/5.0.0/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-std=c++1z" "-fdeprecated-macro" "-fdebug-compilation-dir" "/home/jackie/code/random" "-ferror-limit" "19" "-fmessage-length" "119" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/tmp/crash-f891e9.o" "-x" "c++" "crash.cpp"
"/usr/local/bin/clang-5.0" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "crash.cpp" "-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debugger-tuning=gdb" "-std=c++1z" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "119" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-x" "c++" "crash-2566e6.cpp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment