[LLVMbugs] [Bug 21900] New: Parser core dumped due to undeclared identifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 12 11:50:14 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21900

            Bug ID: 21900
           Summary: Parser core dumped due to undeclared identifier
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: johnme at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13530
  --> http://llvm.org/bugs/attachment.cgi?id=13530&action=edit
Unprocessed C++ source

Clang's parser core dumped when I used an undeclared identifier.

Specifically I used the identifier "weak_factory_deref_on_io_". Oddly, I
noticed that whether or not clang core dumps depends on the precise naming of
the undeclared identifier. For example:
    weak_factory_deref_on_io_ -> core dump
    aaaa_aaaaaaa_aaaaa_aa_aa_ -> error: use of undeclared identifier
    zeak_zactory_zeref_zn_io_ -> core dump
    zeak_zactory_zeref_zn_zo_ -> error: use of undeclared identifier
    weakIfactoryIderefIon_io_ -> core dump
    weakIfactoryIderefIonIio_ -> error: use of undeclared identifier
    weak_factory_derefzon_izz -> core dump
    weak_factoryzderefzon_izz -> error: use of undeclared identifier
    weak_factory_derefzonzzo_ -> core dump
    weak_factory_derefzonzzoz -> error: use of undeclared identifier

Stacktrace is copied below. I've also attached the unprocessed C++ source, and
will attach the the preprocessed source and the run script in follow up
comments, as suggested by clang.

FAILED: /c/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++
-MMD -MF
obj/content/browser/push_messaging/content.push_messaging_message_filter.o.d
-DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64
-DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=223109 -DCOMPONENT_BUILD
-DTOOLKIT_VIEWS=1 -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_REMOTING=1 -DENABLE_WEBRTC=1
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS
-DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1
-DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1
-DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -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 -DENABLE_SCREEN_CAPTURE=1 -DUSE_SECCOMP_BPF
-DMOJO_USE_SYSTEM_IMPL -DGL_GLEXT_PROTOTYPES -DGTEST_HAS_POSIX_RE=0
-DGTEST_LANG_CXX11=0 -DLIBPEERCONNECTION_LIB=1 -DSKIA_DLL
-DGR_GL_IGNORE_ES3_MSAA=0 -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1
'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"'
-DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1
-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE
-DSK_IGNORE_GPU_LAYER_HOISTING -DSK_SUPPORT_LEGACY_NewRasterPMColor
-DSK_USE_POSIX_THREADS -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DU_USING_ICU_NAMESPACE=0
-DU_ENABLE_DYLOAD=0 -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG
-DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH
-DGTEST_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DLINUX
-DWEBRTC_LINUX -DPOSIX -DWEBRTC_POSIX -DV8_SHARED -DUSING_V8_SHARED
-DWEBRTC_CHROMIUM_BUILD -DFLAC__NO_DLL -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS=1
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -D_GLIBCXX_DEBUG=1 -Igen -I../..
-Iobj/content/content.gen -I../../third_party/khronos -I../../skia/config
-I../../gpu -I../../third_party/WebKit/Source -Igen/angle
-I../../third_party/skia/src/core -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../../skia/ext -I../../third_party/re2 -I../../third_party/zlib
-I../../third_party/WebKit -Igen/ui/resources -Igen/protoc_out
-I../../third_party/protobuf -I../../third_party/protobuf/src
-I../../third_party/icu/source/common -Igen/ui/gl
-I../../third_party/mesa/src/include -I../../third_party/WebKit
-I../../third_party/libpng -I../../third_party/libwebp
-I../../third_party/ots/include -I../../third_party/qcms/src
-I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo
-I../../third_party/icu/source/i18n -I../../third_party/webrtc/overrides
-I../../third_party/libjingle/overrides -I../../third_party/libjingle/source
-I../../testing/gtest/include -I../../third_party -I../../third_party/npapi
-I../../third_party/npapi/bindings -I../../v8/include
-Igen/content/app/resources/ -Igen/webkit
-I../../third_party/leveldatabase/src/include
-I../../third_party/leveldatabase/src -I../../third_party/leveldatabase
-Igen/content/browser/tracing -I../../third_party/libyuv/include
-I../../third_party/libyuv -I../../third_party/speex/include
-I../../net/third_party/nss/ssl -I../../ipc
-I../../third_party/webrtc/modules/interface
-I../../third_party/webrtc/modules/audio_device/include -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
/usr/local/google/home/johnme/Code/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang -add-plugin -Xclang find-bad-constructs -fcolor-diagnostics
-B/usr/local/google/home/johnme/Code/chromium/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
-Wexit-time-destructors -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -pthread
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
-I/usr/include/nss -I/usr/include/nspr -Wno-header-guard -m64 -march=x86-64 -O0
-g -gdwarf-4 -funwind-tables -gsplit-dwarf -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11
 -c ../../content/browser/push_messaging/push_messaging_message_filter.cc -o
obj/content/browser/push_messaging/content.push_messaging_message_filter.o
clang: /work/chromium/src/third_party/llvm/include/llvm/Support/Casting.h:237:
typename cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = clang::CallExpr, Y =
clang::Expr]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible
type!"' failed.
0  clang     0x000000000141c848 llvm::sys::PrintStackTrace(_IO_FILE*) + 40
1  clang     0x000000000141de0b
2  libc.so.6 0x00007f2fd0ebec30
3  libc.so.6 0x00007f2fd0ebebb9 gsignal + 57
4  libc.so.6 0x00007f2fd0ec1fc8 abort + 328
5  libc.so.6 0x00007f2fd0eb7a76
6  libc.so.6 0x00007f2fd0eb7b22
7  clang     0x00000000021f098d
8  clang     0x00000000021d7b3d
9  clang     0x00000000021eea6b
10 clang     0x00000000021d7abc
11 clang     0x00000000021bba6d
clang::Sema::CorrectDelayedTyposInExpr(clang::Expr*,
llvm::function_ref<clang::ActionResult<clang::Expr*, true> (clang::Expr*)>) +
621
12 clang     0x00000000021bc464 clang::Sema::ActOnFinishFullExpr(clang::Expr*,
clang::SourceLocation, bool, bool, bool) + 260
13 clang     0x00000000022c920a
clang::Sema::ActOnExprStmt(clang::ActionResult<clang::Expr*, true>) + 58
14 clang     0x0000000001e4e89b
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 3531
15 clang     0x0000000001e4da3f
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 143
16 clang     0x0000000001e5511f clang::Parser::ParseCompoundStatementBody(bool)
+ 1839
17 clang     0x0000000001e55a33
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 195
18 clang     0x0000000001dd7b7b
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) +
1867
19 clang     0x0000000001de9973
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool,
clang::SourceLocation*, clang::Parser::ForRangeInit*) + 2515
20 clang     0x0000000001dd71ac
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier) + 796
21 clang     0x0000000001dd6b8c
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) + 412
22 clang     0x0000000001dd5e42
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 2930
23 clang     0x0000000001dfd6d9
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&) + 313
24 clang     0x0000000001dfcef0 clang::Parser::ParseNamespace(unsigned int,
clang::SourceLocation&, clang::SourceLocation) + 6080
25 clang     0x0000000001de4ea6 clang::Parser::ParseDeclaration(unsigned int,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 422
26 clang     0x0000000001dd5983
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 1715
27 clang     0x0000000001dd519f
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 463
28 clang     0x0000000001dd0f16 clang::ParseAST(clang::Sema&, bool, bool) + 422
29 clang     0x00000000015bb91e clang::FrontendAction::Execute() + 62
30 clang     0x000000000158d35c
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 892
31 clang     0x000000000163e7ea
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3114
32 clang     0x00000000006d1b5c cc1_main(llvm::ArrayRef<char const*>, char
const*, void*) + 684
33 clang     0x00000000006d0589 main + 12089
34 libc.so.6 0x00007f2fd0ea9ec5 __libc_start_main + 245
35 clang     0x00000000006cd52d
Stack dump:
0.      Program arguments:
/usr/local/google/home/johnme/Code/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-main-file-name push_messaging_message_filter.cc -mrelocation-model pic
-pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -gdwarf-4 -dwarf-column-info -g
-backend-option -split-dwarf=Enable -coverage-file
/usr/local/google/home/johnme/Code/chromium/src/out_linux/Debug/obj/content/browser/push_messaging/content.push_messaging_message_filter.o
-resource-dir
/usr/local/google/home/johnme/Code/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.6.0
-dependency-file
obj/content/browser/push_messaging/content.push_messaging_message_filter.o.d
-MT obj/content/browser/push_messaging/content.push_messaging_message_filter.o
-D CONTENT_IMPLEMENTATION -D V8_DEPRECATION_WARNINGS -D _FILE_OFFSET_BITS=64 -D
DISABLE_NACL -D CHROMIUM_BUILD -D CR_CLANG_REVISION=223109 -D COMPONENT_BUILD
-D TOOLKIT_VIEWS=1 -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_REMOTING=1 -D
ENABLE_WEBRTC=1 -D ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D
ENABLE_NOTIFICATIONS -D USE_UDEV -D DONT_EMBED_BUILD_METADATA -D
ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=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 CLD_VERSION=2 -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
ENABLE_SCREEN_CAPTURE=1 -D USE_SECCOMP_BPF -D MOJO_USE_SYSTEM_IMPL -D
GL_GLEXT_PROTOTYPES -D GTEST_HAS_POSIX_RE=0 -D GTEST_LANG_CXX11=0 -D
LIBPEERCONNECTION_LIB=1 -D SKIA_DLL -D GR_GL_IGNORE_ES3_MSAA=0 -D
SK_ENABLE_INST_COUNT=0 -D SK_SUPPORT_GPU=1 -D
GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h" -D
SK_ENABLE_LEGACY_API_ALIASING=1 -D SK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -D
SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -D SK_SUPPORT_LEGACY_TEXTRENDERMODE -D
SK_IGNORE_GPU_LAYER_HOISTING -D SK_SUPPORT_LEGACY_NewRasterPMColor -D
SK_USE_POSIX_THREADS -D PROTOBUF_USE_DLLS -D GOOGLE_PROTOBUF_NO_RTTI -D
GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D U_USING_ICU_NAMESPACE=0 -D
U_ENABLE_DYLOAD=0 -D CHROME_PNG_WRITE_SUPPORT -D PNG_USER_CONFIG -D
FEATURE_ENABLE_SSL -D FEATURE_ENABLE_VOICEMAIL -D EXPAT_RELATIVE_PATH -D
GTEST_RELATIVE_PATH -D NO_MAIN_THREAD_WRAPPING -D NO_SOUND_SYSTEM -D LINUX -D
WEBRTC_LINUX -D POSIX -D WEBRTC_POSIX -D V8_SHARED -D USING_V8_SHARED -D
WEBRTC_CHROMIUM_BUILD -D FLAC__NO_DLL -D USE_LIBPCI=1 -D USE_GLIB=1 -D
USE_NSS=1 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -D _DEBUG -D
_GLIBCXX_DEBUG=1 -I gen -I ../.. -I obj/content/content.gen -I
../../third_party/khronos -I ../../skia/config -I ../../gpu -I
../../third_party/WebKit/Source -I gen/angle -I ../../third_party/skia/src/core
-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 ../../skia/ext -I ../../third_party/re2 -I ../../third_party/zlib -I
../../third_party/WebKit -I gen/ui/resources -I gen/protoc_out -I
../../third_party/protobuf -I ../../third_party/protobuf/src -I
../../third_party/icu/source/common -I gen/ui/gl -I
../../third_party/mesa/src/include -I ../../third_party/WebKit -I
../../third_party/libpng -I ../../third_party/libwebp -I
../../third_party/ots/include -I ../../third_party/qcms/src -I
../../third_party/iccjpeg -I ../../third_party/libjpeg_turbo -I
../../third_party/icu/source/i18n -I ../../third_party/webrtc/overrides -I
../../third_party/libjingle/overrides -I ../../third_party/libjingle/source -I
../../testing/gtest/include -I ../../third_party -I ../../third_party/npapi -I
../../third_party/npapi/bindings -I ../../v8/include -I
gen/content/app/resources/ -I gen/webkit -I
../../third_party/leveldatabase/src/include -I
../../third_party/leveldatabase/src -I ../../third_party/leveldatabase -I
gen/content/browser/tracing -I ../../third_party/libyuv/include -I
../../third_party/libyuv -I ../../third_party/speex/include -I
../../net/third_party/nss/ssl -I ../../ipc -I
../../third_party/webrtc/modules/interface -I
../../third_party/webrtc/modules/audio_device/include -I /usr/include/glib-2.0
-I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/freetype2 -I
/usr/include/pango-1.0 -I /usr/include/cairo -I /usr/include/glib-2.0 -I
/usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/pixman-1 -I
/usr/include/freetype2 -I /usr/include/libpng12 -I /usr/include/harfbuzz -I
/usr/include/dbus-1.0 -I /usr/lib/x86_64-linux-gnu/dbus-1.0/include -I
/usr/include/nss -I /usr/include/nspr -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/google/home/johnme/Code/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.6.0/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O0
-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 -Wexit-time-destructors -Wno-header-guard
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare
-Wsign-compare -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir
/usr/local/google/home/johnme/Code/chromium/src/out_linux/Debug -ferror-limit
19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -pthread
-stack-protector 1 -stack-protector-buffer-size 4 -mstackrealign -fno-rtti
-fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option
-fcolor-diagnostics -load
/usr/local/google/home/johnme/Code/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-add-plugin find-bad-constructs -o
obj/content/browser/push_messaging/content.push_messaging_message_filter.o -x
c++ ../../content/browser/push_messaging/push_messaging_message_filter.cc
-split-dwarf-file
obj/content/browser/push_messaging/content.push_messaging_message_filter.dwo 
1.     
../../content/browser/push_messaging/push_messaging_message_filter.cc:411:1:
current parser token '}'
2.     
../../content/browser/push_messaging/push_messaging_message_filter.cc:24:1:
parsing namespace 'content'
3.     
../../content/browser/push_messaging/push_messaging_message_filter.cc:391:37:
parsing function body 'OnGetRegistration'
4.     
../../content/browser/push_messaging/push_messaging_message_filter.cc:391:37:
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.6.0 (trunk 223109)
Target: x86_64-unknown-linux-gnu
Thread model: posix
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/push_messaging_message_filter-4e88d2.cpp
clang: note: diagnostic msg: /tmp/push_messaging_message_filter-4e88d2.sh
clang: note: diagnostic msg:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141212/a5a971ae/attachment.html>


More information about the llvm-bugs mailing list