Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

clang++ reaches UNREACHABLE code at lib/AST/StmtProfile.cpp:851 #25099

Closed Quuxplusone closed 8 years ago

Quuxplusone commented 9 years ago
Bugzilla Link PR25100
Status RESOLVED FIXED
Importance P normal
Reported by Ilia (ki.stfu@gmail.com)
Reported on 2015-10-07 14:39:55 -0700
Last modified on 2016-10-24 14:04:11 -0700
Version trunk
Hardware PC Linux
CC dgregor@apple.com, llvm-bugs@lists.llvm.org, rnk@google.com
Fixed by commit(s)
Attachments audio_manager_base-65f68e.sh (13456 bytes, text/plain)
audio_manager_base-65f68e.cpp.tgz (874917 bytes, application/octet-stream)
Blocks
Blocked by
See also

When developing of a new feature, I got the following:

$ nice ninja -C out/Release -j 1; notify-send "ninja done"
ninja: Entering directory `out/Release'
[1/13673] CXX obj/media/audio/media.audio_manager_base.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/media/audio/media.audio_manager_base.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=247874-1 -DCOMPONENT_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DDCHECK_ALWAYS_ON=1 -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DMEDIA_IMPLEMENTATION -DUSE_NEON -DUSE_ALSA -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DGL_GLEXT_PROTOTYPES -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../.. -Igen/pulse -I../../third_party/khronos -I../../gpu -I../../skia/config -Igen/angle -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../skia/ext -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/libyuv/include -I../../third_party/libyuv -I../../third_party/opus/src/include -I../../third_party/ffmpeg/chromium/config/Chromium/linux/x64 -I../../third_party/ffmpeg -I../../third_party/libvpx_new/source/libvpx -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-reserved-user-defined-literal -Xclang -load -Xclang /home/ilia/p/chromium_trunk/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -fcolor-diagnostics -B/home/ilia/p/chromium_trunk/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-bitfield-width -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -Wno-header-guard -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11  -c ../../media/audio/audio_manager_base.cc -o obj/media/audio/media.audio_manager_base.o
../../media/audio/audio_manager_base.cc:170:24: error: use of undeclared identifier 'audio_manager_'
          [=] { return audio_manager_->MakeAudioOutputStream(params, device_id); }));
                       ^
Invalid operator call kind
UNREACHABLE executed at /work/chromium/src/third_party/llvm/tools/clang/lib/AST/StmtProfile.cpp:851!
0  clang     0x000000000175daed llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 45
1  clang     0x000000000175d176 llvm::sys::RunSignalHandlers() + 54
2  clang     0x000000000175f2de
3  libc.so.6 0x00007f92722ef2f0
4  libc.so.6 0x00007f92722ef267 gsignal + 55
5  libc.so.6 0x00007f92722f0eca abort + 362
6  clang     0x000000000171c70d llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 461
7  clang     0x0000000002c9bfa8
8  clang     0x0000000002c997d0 clang::Stmt::Profile(llvm::FoldingSetNodeID&, clang::ASTContext const&, bool) const + 32
9  clang     0x0000000002b0038b clang::ASTContext::getDecltypeType(clang::Expr*, clang::QualType) const + 139
10 clang     0x00000000028501be
11 clang     0x000000000284ebba
12 clang     0x0000000002855312 clang::Sema::SubstType(clang::QualType, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName) + 130
13 clang     0x00000000027cc8c4 clang::Sema::CheckTemplateIdType(clang::TemplateName, clang::SourceLocation, clang::TemplateArgumentListInfo&) + 1460
14 clang     0x000000000286f669
15 clang     0x0000000002850b5e
16 clang     0x000000000284ebba
17 clang     0x000000000287086e
18 clang     0x000000000286eec3
19 clang     0x0000000002850b5e
20 clang     0x000000000284ebba
21 clang     0x000000000287086e
22 clang     0x000000000286eec3
23 clang     0x0000000002850b5e
24 clang     0x000000000284ebba
25 clang     0x0000000002855312 clang::Sema::SubstType(clang::QualType, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName) + 130
26 clang     0x00000000027cc8c4 clang::Sema::CheckTemplateIdType(clang::TemplateName, clang::SourceLocation, clang::TemplateArgumentListInfo&) + 1460
27 clang     0x000000000286f669
28 clang     0x0000000002850b5e
29 clang     0x000000000284ebba
30 clang     0x000000000287086e
31 clang     0x000000000286eec3
32 clang     0x0000000002850b5e
33 clang     0x000000000284ebba
34 clang     0x000000000284eaac clang::Sema::SubstType(clang::TypeSourceInfo*, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName) + 92
35 clang     0x00000000027d4b83
36 clang     0x00000000027d4740 clang::Sema::SubstDefaultTemplateArgumentIfAvailable(clang::TemplateDecl*, clang::SourceLocation, clang::SourceLocation, clang::Decl*, llvm::SmallVectorImpl<clang::TemplateArgument>&, bool&) + 112
37 clang     0x0000000002819e78 clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*, llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*, bool) + 1512
38 clang     0x000000000281c3b6 clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool) + 3558
39 clang     0x000000000275f6dc clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*, clang::DeclAccessPair, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool) + 380
40 clang     0x000000000275424d
41 clang     0x000000000277d2ff
42 clang     0x000000000274e7f7
43 clang     0x000000000277ffc1
44 clang     0x000000000275dac3
45 clang     0x000000000275ca60 clang::Sema::AddOverloadCandidate(clang::FunctionDecl*, clang::DeclAccessPair, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool, bool) + 1936
46 clang     0x00000000026c4e90
47 clang     0x00000000026b2e83
48 clang     0x00000000026b03a6 clang::InitializationSequence::InitializeFrom(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 1830
49 clang     0x00000000026afc79 clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 457
50 clang     0x0000000002439bcb
51 clang     0x000000000243417d
52 clang     0x0000000002436683 clang::Sema::BuildCXXFunctionalCastExpr(clang::TypeSourceInfo*, clang::SourceLocation, clang::Expr*, clang::SourceLocation) + 371
53 clang     0x000000000263c28b clang::Sema::BuildCXXTypeConstructExpr(clang::TypeSourceInfo*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation) + 251
54 clang     0x000000000263c177 clang::Sema::ActOnCXXTypeConstructExpr(clang::OpaquePtr<clang::QualType>, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation) + 103
55 clang     0x0000000002279b06 clang::Parser::ParseCXXTypeConstructExpression(clang::DeclSpec const&) + 1094
56 clang     0x0000000002263491 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 3777
57 clang     0x0000000002266a76 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 17574
58 clang     0x000000000226cc54 clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::SmallVectorImpl<clang::SourceLocation>&, std::function<void ()>) + 372
59 clang     0x0000000002261c44 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) + 4132
60 clang     0x0000000002263604 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 4148
61 clang     0x000000000225f755 clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 133
62 clang     0x0000000002239fe5 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) + 3189
63 clang     0x0000000002237f61 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 2801
64 clang     0x0000000002233a97 clang::Parser::ParseSimpleDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool, clang::Parser::ForRangeInit*) + 727
65 clang     0x00000000022336da clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 778
66 clang     0x00000000022a186e clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 1598
67 clang     0x00000000022a11a5 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) + 133
68 clang     0x00000000022a8944 clang::Parser::ParseCompoundStatementBody(bool) + 1524
69 clang     0x00000000022a9213 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) + 195
70 clang     0x000000000222025b clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) + 2139
71 clang     0x0000000002237e6b clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 2555
72 clang     0x000000000221f852 clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) + 802
73 clang     0x000000000221f22a clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) + 410
74 clang     0x000000000221e313 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 2355
75 clang     0x000000000224c308 clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 200
76 clang     0x000000000224bbe2 clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 6674
77 clang     0x00000000022335a0 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 464
78 clang     0x000000000221e673 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 3219
79 clang     0x000000000221d8e2 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 546
80 clang     0x0000000002219466 clang::ParseAST(clang::Sema&, bool, bool) + 518
81 clang     0x0000000001bd9a65 clang::FrontendAction::Execute() + 69
82 clang     0x0000000001ba79bc clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 812
83 clang     0x0000000001c65ba7 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3223
84 clang     0x00000000006e153f cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1183
85 clang     0x00000000006e015f main + 13215
86 libc.so.6 0x00007f92722daa40 __libc_start_main + 240
87 clang     0x00000000006dcc99
Stack dump:
0.  Program arguments: /home/ilia/p/chromium_trunk/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name audio_manager_base.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file /home/ilia/p/chromium_trunk/src/out/Release/obj/media/audio/media.audio_manager_base.o -resource-dir /home/ilia/p/chromium_trunk/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0 -dependency-file obj/media/audio/media.audio_manager_base.o.d -MT obj/media/audio/media.audio_manager_base.o -D V8_DEPRECATION_WARNINGS -D CLD_VERSION=2 -D _FILE_OFFSET_BITS=64 -D CHROMIUM_BUILD -D CR_CLANG_REVISION=247874-1 -D COMPONENT_BUILD -D UI_COMPOSITOR_IMAGE_TRANSPORT -D USE_AURA=1 -D USE_ASH=1 -D USE_PANGO=1 -D USE_CAIRO=1 -D USE_DEFAULT_RENDER_THEME=1 -D USE_LIBJPEG_TURBO=1 -D USE_X11=1 -D USE_CLIPBOARD_AURAX11=1 -D ENABLE_ONE_CLICK_SIGNIN -D ENABLE_PRE_SYNC_BACKUP -D ENABLE_WEBRTC=1 -D ENABLE_MEDIA_ROUTER=1 -D ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D ENABLE_TOPCHROME_MD=1 -D USE_UDEV -D DONT_EMBED_BUILD_METADATA -D DCHECK_ALWAYS_ON=1 -D FIELDTRIAL_TESTING_ENABLED -D ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PDF=1 -D ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D ENABLE_AUTOFILL_DIALOG=1 -D ENABLE_BACKGROUND=1 -D ENABLE_GOOGLE_NOW=1 -D ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D ENABLE_PRINT_PREVIEW=1 -D ENABLE_SPELLCHECK=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_APP_LIST=1 -D ENABLE_SETTINGS_APP=1 -D ENABLE_SUPERVISED_USERS=1 -D ENABLE_MDNS=1 -D ENABLE_SERVICE_DISCOVERY=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D SAFE_BROWSING_SERVICE -D MEDIA_IMPLEMENTATION -D USE_NEON -D USE_ALSA -D USE_PULSEAUDIO -D DLOPEN_PULSEAUDIO -D GL_GLEXT_PROTOTYPES -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D SKIA_DLL -D GR_GL_IGNORE_ES3_MSAA=0 -D SK_SUPPORT_GPU=1 -D SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D USE_LIBPCI=1 -D USE_OPENSSL=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -I gen -I ../.. -I gen/pulse -I ../../third_party/khronos -I ../../gpu -I ../../skia/config -I gen/angle -I ../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I ../../skia/ext -I ../../third_party/skia/include/core -I ../../third_party/skia/include/effects -I ../../third_party/skia/include/pdf -I ../../third_party/skia/include/gpu -I ../../third_party/skia/include/lazy -I ../../third_party/skia/include/pathops -I ../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -I ../../third_party/skia/include/utils -I ../../third_party/libyuv/include -I ../../third_party/libyuv -I ../../third_party/opus/src/include -I ../../third_party/ffmpeg/chromium/config/Chromium/linux/x64 -I ../../third_party/ffmpeg -I ../../third_party/libvpx_new/source/libvpx -D _REENTRANT -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/nss -I /usr/include/nspr -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/backward -internal-isystem /usr/local/include -internal-isystem /home/ilia/p/chromium_trunk/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Werror -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-reserved-user-defined-literal -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-bitfield-width -Wno-header-guard -Wsign-compare -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir /home/ilia/p/chromium_trunk/src/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -pthread -stack-protector 1 -stack-protector-buffer-size 4 -fno-rtti -fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -load /home/ilia/p/chromium_trunk/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-templates -o obj/media/audio/media.audio_manager_base.o -x c++ ../../media/audio/audio_manager_base.cc 
1.  ../../media/audio/audio_manager_base.cc:170:84: current parser token ')'
2.  ../../media/audio/audio_manager_base.cc:23:1: parsing namespace 'media'
3.  ../../media/audio/audio_manager_base.cc:165:35: parsing function body 'MakeAudioOutputStream'
4.  ../../media/audio/audio_manager_base.cc:165:35: in compound statement ('{}')
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.0 (trunk 247874)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/ilia/p/chromium_trunk/src/out/Release/../../third_party/llvm-build/Release+Asserts/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/audio_manager_base-65f68e.cpp
clang: note: diagnostic msg: /tmp/audio_manager_base-65f68e.sh
clang: note: diagnostic msg: 

********************
ninja: build stopped: subcommand failed.

The audio_manager_base-65f68e.cpp / audio_manager_base-65f68e.sh files in attachments.

Quuxplusone commented 9 years ago

Attached audio_manager_base-65f68e.sh (13456 bytes, text/plain): audio_manager_base-65f68e.sh

Quuxplusone commented 9 years ago

Attached audio_manager_base-65f68e.cpp.tgz (874917 bytes, application/octet-stream): audio_manager_base-65f68e.cpp.tgz

Quuxplusone commented 8 years ago

It's very likely that this was fixed by r284999. The attached test case no longer compiles with TOT clang due to x86 builtin drift.