Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shawwn/e9ee5aa161ee6604447959ad99abb3ef to your computer and use it in GitHub Desktop.
Save shawwn/e9ee5aa161ee6604447959ad99abb3ef to your computer and use it in GitHub Desktop.
/var/folders/8f/5fdgh9l120lfbrs2t8plgr7r0000gn/T/main-5e2147.sh
# Crash reproducer for clang version 15.0.0 (https://github.com/llvm/llvm-project 53069de6aa4ce1e130aa58fc36b4be08a53d3aba)
# Driver args: "--driver-mode=g++" "-g" "-arch" "arm64" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk" "-mmacosx-version-min=11.6" "-std=gnu++20" "-o" "CMakeFiles/sg20crash.dir/main.cpp.o" "-c" "/Users/spresser/ml/sg20crash/main.cpp"
# Original command: "/Users/spresser/ml/llvm-project/build/bin/clang-15" "-cc1" "-triple" "arm64-apple-macosx11.6.0" "-Wundef-prefix=TARGET_OS_" "-Werror=undef-prefix" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "main.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-funwind-tables=2" "-target-sdk-version=12.0" "-fcompatibility-qualified-id-block-type-checking" "-fvisibility-inlines-hidden-static-local-var" "-target-cpu" "apple-m1" "-target-feature" "+v8.5a" "-target-feature" "+crc" "-target-feature" "+lse" "-target-feature" "+rdm" "-target-feature" "+crypto" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+fp16fml" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+fullfp16" "-target-feature" "+sm4" "-target-feature" "+sha3" "-target-feature" "+sha2" "-target-feature" "+aes" "-target-abi" "darwinpcs" "-fallow-half-arguments-and-returns" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debug-info-kind=standalone" "-dwarf-version=4" "-debugger-tuning=lldb" "-target-linker-version" "711" "-fcoverage-compilation-dir=/Users/spresser/ml/sg20crash/cmake-build-debug" "-resource-dir" "/Users/spresser/ml/llvm-project/build/lib/clang/15.0.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk" "-stdlib=libc++" "-internal-isystem" "/Users/spresser/ml/llvm-project/build/bin/../include/c++/v1" "-internal-isystem" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/local/include" "-internal-isystem" "/Users/spresser/ml/llvm-project/build/lib/clang/15.0.0/include" "-internal-externc-isystem" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include" "-std=gnu++20" "-fdeprecated-macro" "-fdebug-compilation-dir=/Users/spresser/ml/sg20crash/cmake-build-debug" "-ferror-limit" "19" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-dtors-with-atexit" "-fgnuc-version=4.2.1" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fcolor-diagnostics" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "CMakeFiles/sg20crash.dir/main.cpp.o" "-x" "c++" "/Users/spresser/ml/sg20crash/main.cpp"
"/Users/spresser/ml/llvm-project/build/bin/clang-15" "-cc1" "-triple" "arm64-apple-macosx11.6.0" "-Wundef-prefix=TARGET_OS_" "-Werror=undef-prefix" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "main.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-funwind-tables=2" "-target-sdk-version=12.0" "-fcompatibility-qualified-id-block-type-checking" "-fvisibility-inlines-hidden-static-local-var" "-target-cpu" "apple-m1" "-target-feature" "+v8.5a" "-target-feature" "+crc" "-target-feature" "+lse" "-target-feature" "+rdm" "-target-feature" "+crypto" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+fp16fml" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+fullfp16" "-target-feature" "+sm4" "-target-feature" "+sha3" "-target-feature" "+sha2" "-target-feature" "+aes" "-target-abi" "darwinpcs" "-fallow-half-arguments-and-returns" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debug-info-kind=standalone" "-dwarf-version=4" "-debugger-tuning=lldb" "-target-linker-version" "711" "-fcoverage-compilation-dir=/Users/spresser/ml/sg20crash/cmake-build-debug" "-stdlib=libc++" "-std=gnu++20" "-fdeprecated-macro" "-fdebug-compilation-dir=/Users/spresser/ml/sg20crash/cmake-build-debug" "-ferror-limit" "19" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-dtors-with-atexit" "-fgnuc-version=4.2.1" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fcolor-diagnostics" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-x" "c++" "main-5e2147.cpp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment