# Crash reproducer for Fuchsia clang version 18.0.0 (https://llvm.googlesource.com/llvm-project f7a8a78cb7c1a3c5cc9e6cd999e908f2725a4664)
# Driver args: "--driver-mode=g++" "-MD" "-MF" "obj/sdk/lib/ld/test/ld-unittests.filter-view-tests.cc.o.d" "-D" "_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS" "-D" "_LIBCPP_REMOVE_TRANSITIVE_INCLUDES" "-D" "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1" "-D" "ZX_ASSERT_LEVEL=2" "-I" "../.." "-I" "gen" "-I" "../../sdk/lib/ld/include" "-I" "../../sdk/lib/stdcompat/include" "-I" "../../src/lib/elfldltl/include" "-I" "../../zircon/system/ulib/fbl/include" "-I" "../../sdk/lib/fit/include" "-I" "../../zircon/system/ulib/zx/include" "-I" "../../src/zircon/lib/zircon/include" "-I" "fidling/gen/zircon/vdso/zx/zither/legacy_syscall_cdecl" "-I" "../../sdk/lib/ld/testing/include" "-I" "fidling/gen/sdk/fidl/fuchsia.ldsvc/fuchsia.ldsvc/cpp" "-I" "../../sdk/lib/fidl_base/include" "-I" "../../sdk/lib/fidl/cpp/wire/include" "-I" "../../sdk" "-I" "gen/sdk" "-I" "../../zircon/system/ulib/async/include" "-I" "../../sdk/lib/fit-promise/include" "-I" "../../zircon/system/ulib/sync/include" "-I" "../../sdk/lib/fidl/include" "-I" "../../src/lib/fidl/cpp/include" "-I" "../../third_party/googletest/src/googlemock/include" "-I" "../../third_party/googletest/src/googletest/include" "-I" "../../zircon/system/ulib/async-loop/include" "-I" "../../sdk/lib/fdio/include" "-fcolor-diagnostics" "-fcrash-diagnostics-dir=clang-crashreports" "-fcrash-diagnostics=all" "-gen-reproducer=error" "-ffp-contract=off" "--sysroot=gen/zircon/public/sysroot/cpp" "--target=x86_64-unknown-fuchsia" "-ffuchsia-api-level=4294967295" "-march=x86-64-v2" "-mtune=generic" "-mbranches-within-32B-boundaries" "-ffile-compilation-dir=." "-no-canonical-prefixes" "-fno-omit-frame-pointer" "-fdata-sections" "-ffunction-sections" "-O0" "-Xclang" "-debug-info-kind=constructor" "-g3" "-gdwarf-5" "-gz=zstd" "-Wall" "-Wextra" "-Wconversion" "-Wextra-semi" "-Wimplicit-fallthrough" "-Wnewline-eof" "-Wstrict-prototypes" "-Wwrite-strings" "-Wno-sign-conversion" "-Wno-unused-parameter" "-Wnonportable-system-include-path" "-Wno-missing-field-initializers" "-fvisibility=hidden" "-Werror" "-Wno-error=deprecated-declarations" "-Wa,--fatal-warnings" "-ftrivial-auto-var-init=pattern" "-Wthread-safety" "-Wno-undef" "-fvisibility-inlines-hidden" "-std=c++17" "-fno-exceptions" "-fno-rtti" "-c" "../../sdk/lib/ld/test/filter-view-tests.cc" "-o" "obj/sdk/lib/ld/test/ld-unittests.filter-view-tests.cc.o"
# Original command:  "../../prebuilt/third_party/clang/custom/bin/clang++" "-cc1" "-triple" "x86_64-unknown-fuchsia" "-emit-obj" "-mrelax-all" "-massembler-fatal-warnings" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "filter-view-tests.cc" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-ffp-contract=off" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64-v2" "-mllvm" "-x86-branches-within-32B-boundaries" "-tune-cpu" "generic" "-debug-info-kind=constructor" "-dwarf-version=5" "-debugger-tuning=gdb" "--compress-debug-sections=zstd" "-fdebug-compilation-dir=." "-mllvm" "-crash-diagnostics-dir=clang-crashreports" "-ffunction-sections" "-fdata-sections" "-fcoverage-compilation-dir=." "-resource-dir" "../../prebuilt/third_party/clang/custom/lib/clang/18" "-dependency-file" "obj/sdk/lib/ld/test/ld-unittests.filter-view-tests.cc.o.d" "-MT" "obj/sdk/lib/ld/test/ld-unittests.filter-view-tests.cc.o" "-sys-header-deps" "-D" "_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS" "-D" "_LIBCPP_REMOVE_TRANSITIVE_INCLUDES" "-D" "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1" "-D" "ZX_ASSERT_LEVEL=2" "-I" "../.." "-I" "gen" "-I" "../../sdk/lib/ld/include" "-I" "../../sdk/lib/stdcompat/include" "-I" "../../src/lib/elfldltl/include" "-I" "../../zircon/system/ulib/fbl/include" "-I" "../../sdk/lib/fit/include" "-I" "../../zircon/system/ulib/zx/include" "-I" "../../src/zircon/lib/zircon/include" "-I" "fidling/gen/zircon/vdso/zx/zither/legacy_syscall_cdecl" "-I" "../../sdk/lib/ld/testing/include" "-I" "fidling/gen/sdk/fidl/fuchsia.ldsvc/fuchsia.ldsvc/cpp" "-I" "../../sdk/lib/fidl_base/include" "-I" "../../sdk/lib/fidl/cpp/wire/include" "-I" "../../sdk" "-I" "gen/sdk" "-I" "../../zircon/system/ulib/async/include" "-I" "../../sdk/lib/fit-promise/include" "-I" "../../zircon/system/ulib/sync/include" "-I" "../../sdk/lib/fidl/include" "-I" "../../src/lib/fidl/cpp/include" "-I" "../../third_party/googletest/src/googlemock/include" "-I" "../../third_party/googletest/src/googletest/include" "-I" "../../zircon/system/ulib/async-loop/include" "-I" "../../sdk/lib/fdio/include" "-isysroot" "gen/zircon/public/sysroot/cpp" "-internal-isystem" "../../prebuilt/third_party/clang/custom/bin/../include/x86_64-unknown-fuchsia/c++/v1" "-internal-isystem" "../../prebuilt/third_party/clang/custom/bin/../include/c++/v1" "-internal-isystem" "../../prebuilt/third_party/clang/custom/lib/clang/18/include" "-internal-externc-isystem" "gen/zircon/public/sysroot/cpp/include" "-O0" "-Wall" "-Wextra" "-Wconversion" "-Wextra-semi" "-Wimplicit-fallthrough" "-Wnewline-eof" "-Wstrict-prototypes" "-Wwrite-strings" "-Wno-sign-conversion" "-Wno-unused-parameter" "-Wnonportable-system-include-path" "-Wno-missing-field-initializers" "-Werror" "-Wno-error=deprecated-declarations" "-Wthread-safety" "-Wno-undef" "-ffuchsia-api-level=4294967295" "-std=c++17" "-fdeprecated-macro" "-ferror-limit" "19" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-fsanitize=safe-stack" "-fno-sanitize-memory-param-retval" "-fno-sanitize-address-use-odr-indicator" "-stack-protector" "2" "-ftrivial-auto-var-init=pattern" "-fno-rtti" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-debug-info-kind=constructor" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "obj/sdk/lib/ld/test/ld-unittests.filter-view-tests.cc.o" "-x" "c++" "../../sdk/lib/ld/test/filter-view-tests.cc"
 "../../prebuilt/third_party/clang/custom/bin/clang++" "-cc1" "-triple" "x86_64-unknown-fuchsia" "-emit-obj" "-mrelax-all" "-massembler-fatal-warnings" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "filter-view-tests.cc" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-ffp-contract=off" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64-v2" "-mllvm" "-x86-branches-within-32B-boundaries" "-tune-cpu" "generic" "-debug-info-kind=constructor" "-dwarf-version=5" "-debugger-tuning=gdb" "--compress-debug-sections=zstd" "-fdebug-compilation-dir=." "-mllvm" "-crash-diagnostics-dir=clang-crashreports" "-ffunction-sections" "-fdata-sections" "-fcoverage-compilation-dir=." "-sys-header-deps" "-D" "_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS" "-D" "_LIBCPP_REMOVE_TRANSITIVE_INCLUDES" "-D" "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1" "-D" "ZX_ASSERT_LEVEL=2" "-O0" "-Wall" "-Wextra" "-Wconversion" "-Wextra-semi" "-Wimplicit-fallthrough" "-Wnewline-eof" "-Wstrict-prototypes" "-Wwrite-strings" "-Wno-sign-conversion" "-Wno-unused-parameter" "-Wnonportable-system-include-path" "-Wno-missing-field-initializers" "-Werror" "-Wno-error=deprecated-declarations" "-Wthread-safety" "-Wno-undef" "-ffuchsia-api-level=4294967295" "-std=c++17" "-fdeprecated-macro" "-ferror-limit" "19" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-fsanitize=safe-stack" "-fno-sanitize-memory-param-retval" "-fno-sanitize-address-use-odr-indicator" "-stack-protector" "2" "-ftrivial-auto-var-init=pattern" "-fno-rtti" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-debug-info-kind=constructor" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-x" "c++" "filter-view-tests-a446d4.cpp"
