First failed build: https://build.chromium.org/p/chromium.fyi/builders/ClangToTMacASan/builds/9034
Logs: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.fyi%2FClangToTMacASan%2F9034%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
Trace:
export DEVELOPER_DIR=/b/c/b/ClangToTMacASan/src/build/mac_files/Xcode.app; ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/breakpad/utilities/md5.o.d -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DADDRESS_SANITIZER -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"299712\" -DCR_XCODE_VERSION=0511 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../breakpad/src -fno-strict-aliasing -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -arch x86_64 -O2 -fno-omit-frame-pointer -gdwarf-2 -fno-standalone-debug -isysroot /b/c/b/ClangToTMacASan/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.9 -gline-tables-only -gcolumn-info -fno-omit-frame-pointer -fsanitize=address -fno-sanitize-address-use-after-scope -mllvm -asan-globals=0 -fsanitize-blacklist=../../tools/memory/asan/blacklist.txt -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wpartial-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -fvisibility-inlines-hidden -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -c ../../breakpad/src/common/md5.cc -o obj/breakpad/utilities/md5.o
Assertion failed: (0), function visitSub, file /b/c/b/ClangToTMacASan/src/third_party/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp, line 1629.
0 clang-5.0 0x0000000102844808 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1 clang-5.0 0x0000000102844f06 llvm::sys::PrintStackTraceOnErrorSignal(llvm::StringRef, bool) + 838
2 libsystem_platform.dylib 0x00007fffcceadbba _sigtramp + 26
3 libsystem_platform.dylib 0x00007fb000000000 _sigtramp + 857023584
4 libsystem_c.dylib 0x00007fffccd34420 abort + 129
5 libsystem_c.dylib 0x00007fffcccfb893 basename_r + 0
6 clang-5.0 0x00000001023ce31d llvm::Pass* llvm::callDefaultCtor<llvm::InstructionCombiningPass>() + 46733
7 clang-5.0 0x00000001023bf66b llvm::WholeProgramDevirtPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 115915
8 clang-5.0 0x00000001023c15ec llvm::InstCombinePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) + 5436
9 clang-5.0 0x00000001023c1bbb llvm::InstructionCombiningPass::runOnFunction(llvm::Function&) + 523
10 clang-5.0 0x000000010228fb93 llvm::FPPassManager::runOnFunction(llvm::Function&) + 547
11 clang-5.0 0x000000010228fdf3 llvm::FPPassManager::runOnModule(llvm::Module&) + 51
12 clang-5.0 0x000000010229033e llvm::legacy::PassManagerImpl::run(llvm::Module&) + 958
13 clang-5.0 0x0000000102a874f4 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 15748
14 clang-5.0 0x0000000102cbfa4f clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 2095
15 clang-5.0 0x00000001036b9aa5 clang::ParseAST(clang::Sema&, bool, bool) + 469
16 clang-5.0 0x0000000102f362ac clang::FrontendAction::Execute() + 76
17 clang-5.0 0x0000000102ef2631 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1217
18 clang-5.0 0x0000000102f978a2 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4914
19 clang-5.0 0x00000001010c50cc cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1388
20 clang-5.0 0x00000001010c3793 main + 11875
21 libdyld.dylib 0x00007fffccca0255 start + 1
Stack dump:
0. Program arguments: /b/c/b/ClangToTMacASan/src/third_party/llvm-build/Release+Asserts/bin/clang-5.0 -cc1 -triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -main-file-name md5.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 274.1 -dwarf-column-info -debug-info-kind=line-tables-only -dwarf-version=2 -debugger-tuning=lldb -coverage-notes-file /b/c/b/ClangToTMacASan/src/out/Release/obj/breakpad/utilities/md5.gcno -resource-dir /b/c/b/ClangToTMacASan/src/third_party/llvm-build/Release+Asserts/lib/clang/5.0.0 -dependency-file obj/breakpad/utilities/md5.o.d -MT obj/breakpad/utilities/md5.o -isysroot /b/c/b/ClangToTMacASan/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -D V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D MEMORY_TOOL_REPLACES_ALLOCATOR -D MEMORY_SANITIZER_INITIAL_SIZE -D ADDRESS_SANITIZER -D DISABLE_NACL -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D ENABLE_MEDIA_ROUTER=1 -D FIELDTRIAL_TESTING_ENABLED -D CR_CLANG_REVISION="299712" -D CR_XCODE_VERSION=0511 -D __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -I ../.. -I gen -I ../../breakpad/src -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -stdlib=libc++ -O2 -Wno-builtin-macro-redefined -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wpartial-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /b/c/b/ClangToTMacASan/src/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -fsanitize=address -fsanitize-blacklist=/b/c/b/ClangToTMacASan/src/third_party/llvm-build/Release+Asserts/lib/clang/5.0.0/asan_blacklist.txt -fsanitize-blacklist=../../tools/memory/asan/blacklist.txt -fdepfile-entry=../../tools/memory/asan/blacklist.txt -fno-assume-sane-operator-new -stack-protector 1 -fblocks -fno-rtti -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -asan-globals=0 -o obj/breakpad/utilities/md5.o -x c++ ../../breakpad/src/common/md5.cc
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'Function Pass Manager' on module '../../breakpad/src/common/md5.cc'.
4. Running pass 'Combine redundant instructions' on function '@_ZN15google_breakpad8MD5FinalEPhPNS_10MD5ContextE'
clang-5.0: error: unable to execute command: Abort trap: 6
clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 5.0.0 (trunk 299712)
Target: x86_64-apple-darwin16.3.0
Thread model: posix
InstalledDir: /b/c/b/ClangToTMacASan/src/out/Release/../../third_party/llvm-build/Release+Asserts/bin
Clang revision: 299712
Previous clang revision: 299657
Comment 1 by inglorion@chromium.org
, Apr 7 2017