[llvm-bugs] [Bug 36536] New: Crash in clang::Sema::ActOnFinishSwitchStmt

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 27 04:20:38 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36536

            Bug ID: 36536
           Summary: Crash in clang::Sema::ActOnFinishSwitchStmt
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bratell at opera.com
                CC: llvm-bugs at lists.llvm.org

A clang crash happening when doing a jumbo (unity) build in Chromium. There
were a lot of compilation errors before the crash which I suspect is relevant
for the crash. 

Attached files are too large to attach here but can be found by searching for
clang-crash-2018-02-26.tgz in https://crbug.com/816882

Full output:

../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/content/renderer/renderer/renderer_jumbo_1.o.d -DV8_DEPRECATION_WARNINGS
-DNO_TCMALLOC -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -DANDROID -DHAVE_SYS_UIO_H
-DANDROID_NDK_VERSION_ROLL=r16_1 -DCR_CLANG_REVISION=\"325667-1\"
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD
-D__GNU_SOURCE=1 -DCHROMIUM_CXX_TWEAK_INLINES -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DCONTENT_IMPLEMENTATION -DWEBP_EXTERN=extern -DUSE_EGL
-DV8_USE_EXTERNAL_STARTUP_DATA -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DHAVE_PTHREAD -DPROTOBUF_USE_DLLS -DBORINGSSL_SHARED_LIBRARY
-DLEVELDB_PLATFORM_CHROMIUM=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
-DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSKIA_DLL
-DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1 -DSK_BUILD_FOR_ANDROID
-DUSE_CHROMIUM_SKIA -DUSING_V8_SHARED -DV8_ENABLE_CHECKS
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DWTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1
-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1 -DUSING_V8_SHARED -DV8_ENABLE_CHECKS
-DMESA_EGL_NO_X11_HEADERS -DI18N_PHONENUMBERS_USE_ICU_REGEXP=1
-DI18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1
-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DGTEST_RELATIVE_PATH
-DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_ANDROID
-DXML_STATIC -DOPUS_FIXED_POINT -DWEBRTC_USE_BUILTIN_ISAC_FIX=1
-DWEBRTC_USE_BUILTIN_ISAC_FLOAT=0 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -I.
-I../.. -Igen -I../../third_party/libwebp/src -I../../third_party/khronos
-I../../gpu -I../../third_party/libyuv/include -I../../third_party/ced/src
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n
-I../../third_party/protobuf/src -I../../third_party/protobuf/src
-Igen/protoc_out -I../../third_party/boringssl/src/include
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include -I../../skia/config
-I../../skia/ext -I../../third_party/skia/include/c
-I../../third_party/skia/include/config -I../../third_party/skia/include/core
-I../../third_party/skia/include/effects
-I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu
-I../../third_party/skia/include/images -I../../third_party/skia/include/lazy
-I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf
-I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports
-I../../third_party/skia/include/utils -I../../third_party/skia/src/gpu
-I../../third_party/skia/src/sksl -I../../third_party/libwebm/source
-Igen/media/base/android/media_jni_headers
-Igen/media/base/android/media_jni_headers/media -I../../third_party/WebKit
-Igen/third_party/WebKit -I../../v8/include -Igen/v8/include
-Igen/third_party/metrics_proto -I../../third_party/WebKit/Source
-I../../third_party/WebKit -Igen/blink -Igen/third_party/WebKit
-I../../v8/include -Igen/v8/include -I../../third_party/mesa/src/include
-I../../third_party/android_ndk/sources/android/cpufeatures
-I../../third_party/libphonenumber/dist/cpp/src
-Igen/third_party/libphonenumber -I../../third_party/webrtc_overrides
-I../../testing/gtest/include -I../../third_party/webrtc
-I../../third_party/webrtc_overrides -I../../third_party/webrtc
-I../../third_party/expat/files/lib -I../../third_party/libvpx/source/libvpx
-I../../third_party/opus/src/include
-I../../third_party/webrtc/common_video/include
-I../../third_party/webrtc/modules/include
-I../../third_party/webrtc/modules/audio_device/include
-I../../third_party/webrtc/modules/audio_device/dummy -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-fcolor-diagnostics -no-canonical-prefixes -ffunction-sections -fno-short-enums
--target=arm-linux-androideabi
-isystem../../third_party/android_ndk/sysroot/usr/include/arm-linux-androideabi
-D__ANDROID_API__=16 -D__NDK_FPABI__= -DHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC=1
-march=armv7-a -mfloat-abi=softfp -mtune=generic-armv7-a -mfpu=neon -mthumb
-Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety
-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 -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -Oz -fno-ident -fdata-sections -ffunction-sections
-fomit-frame-pointer -gdwarf-3 -g2 -ggnu-pubnames -fvisibility=hidden -Xclang
-load -Xclang
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors
-Wshadow -Xclang -load -Xclang
../../third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.so -Xclang
-add-plugin -Xclang blink-gc-plugin -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -std=gnu++14 -fno-exceptions -fno-rtti
-isystem../../third_party/android_ndk/sources/cxx-stl/llvm-libc++/include
-isystem../../third_party/android_ndk/sources/cxx-stl/llvm-libc++abi/include
-isystem../../third_party/android_ndk/sources/android/support/include
--sysroot=../../third_party/android_ndk/sysroot -fvisibility-inlines-hidden -c
gen/content/renderer/renderer_jumbo_1.cc -o
obj/content/renderer/renderer/renderer_jumbo_1.o
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:23:
In file included from ../../components/viz/service/display/display.h:21:
../../components/viz/service/display/surface_aggregator.h:38:21: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
                    cc::DisplayResourceProvider* provider,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                    ::cc::DisplayResourceProvider
../../components/viz/service/display/surface_aggregator.h:23:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/surface_aggregator.h:198:3: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
  cc::DisplayResourceProvider* provider_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  ::cc::DisplayResourceProvider
../../components/viz/service/display/surface_aggregator.h:23:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:23:
../../components/viz/service/display/display.h:143:23: error: no member named
'DisplayResourceProvider' in namespace 'viz::cc'
  std::unique_ptr<cc::DisplayResourceProvider> resource_provider_;
                  ~~~~^
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:24:
In file included from ../../components/viz/service/display/output_surface.h:17:
In file included from
../../components/viz/service/display/overlay_candidate_validator.h:11:
In file included from
../../components/viz/service/display/overlay_processor.h:14:
../../components/viz/service/display/ca_layer_overlay.h:80:5: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
    cc::DisplayResourceProvider* resource_provider,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ::cc::DisplayResourceProvider
../../components/viz/service/display/ca_layer_overlay.h:18:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/ca_layer_overlay.h:83:61: error: expected
expression
    const base::flat_map<RenderPassId, cc::FilterOperations*>&
                                                            ^
../../components/viz/service/display/ca_layer_overlay.h:83:44: error: no member
named 'FilterOperations' in namespace 'viz::cc'
    const base::flat_map<RenderPassId, cc::FilterOperations*>&
                                       ~~~~^
../../components/viz/service/display/ca_layer_overlay.h:85:61: error: expected
expression
    const base::flat_map<RenderPassId, cc::FilterOperations*>&
                                                            ^
../../components/viz/service/display/ca_layer_overlay.h:85:44: error: no member
named 'FilterOperations' in namespace 'viz::cc'
    const base::flat_map<RenderPassId, cc::FilterOperations*>&
                                       ~~~~^
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:24:
In file included from ../../components/viz/service/display/output_surface.h:17:
In file included from
../../components/viz/service/display/overlay_candidate_validator.h:11:
In file included from
../../components/viz/service/display/overlay_processor.h:15:
../../components/viz/service/display/dc_layer_overlay.h:99:16: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
  void Process(cc::DisplayResourceProvider* resource_provider,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
               ::cc::DisplayResourceProvider
../../components/viz/service/display/dc_layer_overlay.h:18:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/dc_layer_overlay.h:111:30: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
  DCLayerResult FromDrawQuad(cc::DisplayResourceProvider* resource_provider,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                             ::cc::DisplayResourceProvider
../../components/viz/service/display/dc_layer_overlay.h:18:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/dc_layer_overlay.h:120:26: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
  void ProcessRenderPass(cc::DisplayResourceProvider* resource_provider,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                         ::cc::DisplayResourceProvider
../../components/viz/service/display/dc_layer_overlay.h:18:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:24:
In file included from ../../components/viz/service/display/output_surface.h:17:
In file included from
../../components/viz/service/display/overlay_candidate_validator.h:11:
../../components/viz/service/display/overlay_processor.h:35:26: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
                         cc::DisplayResourceProvider* resource_provider,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                         ::cc::DisplayResourceProvider
../../components/viz/service/display/overlay_processor.h:19:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/overlay_processor.h:37:26: error: no type
named 'OverlayCandidateList' in namespace 'viz::cc'; did you mean
'::cc::OverlayCandidateList'?
                         cc::OverlayCandidateList* candidates,
                         ^~~~~~~~~~~~~~~~~~~~~~~~
                         ::cc::OverlayCandidateList
../../cc/output/overlay_candidate.h:119:17: note: '::cc::OverlayCandidateList'
declared here
class CC_EXPORT OverlayCandidateList : public std::vector<OverlayCandidate> {
                ^
In file included from gen/content/renderer/renderer_jumbo_1.cc:15:
In file included from
./../../content/renderer/android/synchronous_layer_tree_frame_sink.cc:24:
In file included from ../../components/viz/service/display/output_surface.h:17:
In file included from
../../components/viz/service/display/overlay_candidate_validator.h:11:
../../components/viz/service/display/overlay_processor.h:50:57: error: expected
expression
      base::flat_map<RenderPassId, cc::FilterOperations*>;
                                                        ^
../../components/viz/service/display/overlay_processor.h:50:40: error: no
member named 'FilterOperations' in namespace 'viz::cc'
      base::flat_map<RenderPassId, cc::FilterOperations*>;
                                   ~~~~^
../../components/viz/service/display/overlay_processor.h:55:7: error: no type
named 'DisplayResourceProvider' in namespace 'viz::cc'; did you mean
'::cc::DisplayResourceProvider'?
      cc::DisplayResourceProvider* resource_provider,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ::cc::DisplayResourceProvider
../../components/viz/service/display/overlay_processor.h:19:7: note:
'::cc::DisplayResourceProvider' declared here
class DisplayResourceProvider;
      ^
../../components/viz/service/display/overlay_processor.h:58:13: error: unknown
type name 'FilterOperationsMap'
      const FilterOperationsMap& render_pass_filters,
            ^
../../components/viz/service/display/overlay_processor.h:59:13: error: unknown
type name 'FilterOperationsMap'
      const FilterOperationsMap& render_pass_background_filters,
            ^
../../components/viz/service/display/overlay_processor.h:60:7: error: no type
named 'OverlayCandidateList' in namespace 'viz::cc'; did you mean
'::cc::OverlayCandidateList'?
      cc::OverlayCandidateList* overlay_candidates,
      ^~~~~~~~~~~~~~~~~~~~~~~~
      ::cc::OverlayCandidateList
../../cc/output/overlay_candidate.h:119:17: note: '::cc::OverlayCandidateList'
declared here
class CC_EXPORT OverlayCandidateList : public std::vector<OverlayCandidate> {
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
clang++:
/b/build/slave/linux_upload_clang/build/src/third_party/llvm/include/llvm/ADT/SmallVector.h:168:
llvm::SmallVectorTemplateCommon::reference
llvm::SmallVectorTemplateCommon<clang::SwitchStmt *, void>::back() [T =
clang::SwitchStmt *]: Assertion `!empty()' failed.
#0 0x0000000001f30f74
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f30f74)
#1 0x0000000001f312d6
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f312d6)
#2 0x00007f80adce5390 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#3 0x00007f80ac84f428 gsignal
/build/glibc-Cl5G7W/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
#4 0x00007f80ac85102a abort /build/glibc-Cl5G7W/glibc-2.23/stdlib/abort.c:91:0
#5 0x00007f80ac847bd7 __assert_fail_base
/build/glibc-Cl5G7W/glibc-2.23/assert/assert.c:92:0
#6 0x00007f80ac847c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
#7 0x0000000003585239 clang::Sema::ActOnFinishSwitchStmt(clang::SourceLocation,
clang::Stmt*, clang::Stmt*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x3585239)
#8 0x0000000002e8a6c9
clang::Parser::ParseSwitchStatement(clang::SourceLocation*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8a6c9)
#9 0x0000000002e8778a
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8778a)
#10 0x0000000002e8703d
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8703d)
#11 0x0000000002e8e401 clang::Parser::ParseCompoundStatementBody(bool)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8e401)
#12 0x0000000002e87afb
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e87afb)
#13 0x0000000002e8703d
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8703d)
#14 0x0000000002e8c170 clang::Parser::ParseForStatement(clang::SourceLocation*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8c170)
#15 0x0000000002e8788c
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8788c)
#16 0x0000000002e8703d
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8703d)
#17 0x0000000002e8e401 clang::Parser::ParseCompoundStatementBody(bool)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8e401)
#18 0x0000000002e8ed3e clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e8ed3e)
#19 0x0000000002dfb098
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2dfb098)
#20 0x0000000002e13bfb clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e13bfb)
#21 0x0000000002dfa0fa
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2dfa0fa)
#22 0x0000000002df99f1
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df99f1)
#23 0x0000000002df80dc
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df80dc)
#24 0x0000000002e28647
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&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e28647)
#25 0x0000000002e27e32 clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e27e32)
#26 0x0000000002e0f502
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e0f502)
#27 0x0000000002df7ad7
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df7ad7)
#28 0x0000000002e28647
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&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e28647)
#29 0x0000000002e27e32 clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e27e32)
#30 0x0000000002e0f502
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e0f502)
#31 0x0000000002df7ad7
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df7ad7)
#32 0x0000000002df7237
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df7237)
#33 0x0000000002df26f7 clang::ParseAST(clang::Sema&, bool, bool)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2df26f7)
#34 0x00000000025431c0 clang::FrontendAction::Execute()
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x25431c0)
#35 0x00000000024ed991
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x24ed991)
#36 0x00000000025dd0f9
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x25dd0f9)
#37 0x000000000087bd44 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x87bd44)
#38 0x00000000008793f4 main
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x8793f4)
#39 0x00007f80ac83a830 __libc_start_main
/build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:325:0
#40 0x0000000000876459 _start
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x876459)
Stack dump:
0.      Program arguments:
../../third_party/llvm-build/Release+Asserts/bin/clang++ -cc1 -triple
thumbv7--linux-android -emit-obj -disable-free -main-file-name
renderer_jumbo_1.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 generic -target-feature
+soft-float-abi -target-feature -fp-only-sp -target-feature -d16
-target-feature +vfp3 -target-feature -fp16 -target-feature -vfp4
-target-feature -fp-armv8 -target-feature +neon -target-feature -crypto
-target-abi aapcs-linux -mfloat-abi soft -fallow-half-arguments-and-returns
-dwarf-column-info -debug-info-kind=limited -dwarf-version=3
-debugger-tuning=gdb -ggnu-pubnames -ffunction-sections -fdata-sections
-coverage-notes-file
/home/bratell/src/chromium/src/out/Android/obj/content/renderer/renderer/renderer_jumbo_1.gcno
-resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/7.0.0
-dependency-file obj/content/renderer/renderer/renderer_jumbo_1.o.d -MT
obj/content/renderer/renderer/renderer_jumbo_1.o -isystem
../../third_party/android_ndk/sysroot/usr/include/arm-linux-androideabi
-isystem ../../third_party/android_ndk/sources/cxx-stl/llvm-libc++/include
-isystem ../../third_party/android_ndk/sources/cxx-stl/llvm-libc++abi/include
-isystem ../../third_party/android_ndk/sources/android/support/include -D
V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D SAFE_BROWSING_DB_REMOTE -D
CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D ANDROID -D HAVE_SYS_UIO_H -D
ANDROID_NDK_VERSION_ROLL=r16_1 -D CR_CLANG_REVISION="325667-1" -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D COMPONENT_BUILD -D
__GNU_SOURCE=1 -D CHROMIUM_CXX_TWEAK_INLINES -D _DEBUG -D
DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -D
CONTENT_IMPLEMENTATION -D WEBP_EXTERN=extern -D USE_EGL -D
V8_USE_EXTERNAL_STARTUP_DATA -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D
ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D UCHAR_TYPE=uint16_t -D
GOOGLE_PROTOBUF_NO_RTTI -D GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D
HAVE_PTHREAD -D PROTOBUF_USE_DLLS -D BORINGSSL_SHARED_LIBRARY -D
LEVELDB_PLATFORM_CHROMIUM=1 -D SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D
SK_HAS_PNG_LIBRARY -D SK_HAS_WEBP_LIBRARY -D SK_HAS_JPEG_LIBRARY -D SKIA_DLL -D
GR_GL_IGNORE_ES3_MSAA=0 -D SK_SUPPORT_GPU=1 -D SK_BUILD_FOR_ANDROID -D
USE_CHROMIUM_SKIA -D USING_V8_SHARED -D V8_ENABLE_CHECKS -D
WTF_USE_DYNAMIC_ANNOTATIONS=1 -D WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION=1 -D
WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1 -D USING_V8_SHARED -D V8_ENABLE_CHECKS -D
MESA_EGL_NO_X11_HEADERS -D I18N_PHONENUMBERS_USE_ICU_REGEXP=1 -D
I18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1 -D
WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -D GTEST_RELATIVE_PATH -D
WEBRTC_CHROMIUM_BUILD -D WEBRTC_POSIX -D WEBRTC_LINUX -D WEBRTC_ANDROID -D
XML_STATIC -D OPUS_FIXED_POINT -D WEBRTC_USE_BUILTIN_ISAC_FIX=1 -D
WEBRTC_USE_BUILTIN_ISAC_FLOAT=0 -D HAVE_SCTP -D NO_MAIN_THREAD_WRAPPING -I . -I
../.. -I gen -I ../../third_party/libwebp/src -I ../../third_party/khronos -I
../../gpu -I ../../third_party/libyuv/include -I ../../third_party/ced/src -I
../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I
../../third_party/protobuf/src -I ../../third_party/protobuf/src -I
gen/protoc_out -I ../../third_party/boringssl/src/include -I
../../third_party/leveldatabase -I ../../third_party/leveldatabase/src -I
../../third_party/leveldatabase/src/include -I ../../skia/config -I
../../skia/ext -I ../../third_party/skia/include/c -I
../../third_party/skia/include/config -I ../../third_party/skia/include/core -I
../../third_party/skia/include/effects -I ../../third_party/skia/include/encode
-I ../../third_party/skia/include/gpu -I ../../third_party/skia/include/images
-I ../../third_party/skia/include/lazy -I
../../third_party/skia/include/pathops -I ../../third_party/skia/include/pdf -I
../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -I
../../third_party/skia/include/utils -I ../../third_party/skia/src/gpu -I
../../third_party/skia/src/sksl -I ../../third_party/libwebm/source -I
gen/media/base/android/media_jni_headers -I
gen/media/base/android/media_jni_headers/media -I ../../third_party/WebKit -I
gen/third_party/WebKit -I ../../v8/include -I gen/v8/include -I
gen/third_party/metrics_proto -I ../../third_party/WebKit/Source -I
../../third_party/WebKit -I gen/blink -I gen/third_party/WebKit -I
../../v8/include -I gen/v8/include -I ../../third_party/mesa/src/include -I
../../third_party/android_ndk/sources/android/cpufeatures -I
../../third_party/libphonenumber/dist/cpp/src -I gen/third_party/libphonenumber
-I ../../third_party/webrtc_overrides -I ../../testing/gtest/include -I
../../third_party/webrtc -I ../../third_party/webrtc_overrides -I
../../third_party/webrtc -I ../../third_party/expat/files/lib -I
../../third_party/libvpx/source/libvpx -I ../../third_party/opus/src/include -I
../../third_party/webrtc/common_video/include -I
../../third_party/webrtc/modules/include -I
../../third_party/webrtc/modules/audio_device/include -I
../../third_party/webrtc/modules/audio_device/dummy -D __DATE__= -D __TIME__=
-D __TIMESTAMP__= -D __ANDROID_API__=16 -D __NDK_FPABI__= -D
HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC=1 -isysroot
../../third_party/android_ndk/sysroot -internal-isystem
../../third_party/android_ndk/sysroot/usr/local/include -internal-isystem
../../third_party/llvm-build/Release+Asserts/lib/clang/7.0.0/include
-internal-externc-isystem ../../third_party/android_ndk/sysroot/include
-internal-externc-isystem ../../third_party/android_ndk/sysroot/usr/include -Oz
-Wno-builtin-macro-redefined -Wall -Werror -Wextra -Wimplicit-fallthrough
-Wthread-safety -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 -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wexit-time-destructors -Wshadow
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++14
-fdeprecated-macro -fdebug-compilation-dir
/home/bratell/src/chromium/src/out/Android -ferror-limit 19 -fmessage-length 0
-fvisibility hidden -fvisibility-inlines-hidden -femulated-tls -stack-protector
1 -stack-protector-buffer-size 4 -fno-rtti -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -load
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-ipc -load
../../third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.so
-add-plugin blink-gc-plugin -o obj/content/renderer/renderer/renderer_jumbo_1.o
-x c++ gen/content/renderer/renderer_jumbo_1.cc 
1.      ./../../content/renderer/drop_data_builder.cc:93:3: current parser
token '}'
2.      ./../../content/renderer/dom_storage/dom_storage_dispatcher.cc:24:1:
parsing namespace 'content'
3.      ./../../content/renderer/drop_data_builder.cc:22:1: parsing namespace
'content::content'
4.      ./../../content/renderer/drop_data_builder.cc:25:63: parsing function
body
5.      ./../../content/renderer/drop_data_builder.cc:25:63: in compound
statement ('{}')
6.      ./../../content/renderer/drop_data_builder.cc:31:49: in compound
statement ('{}')
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 7.0.0 (trunk 325667)
Target: arm--linux-android
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ 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/renderer_jumbo_1-862683.cpp
clang++: note: diagnostic msg: /tmp/renderer_jumbo_1-862683.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/20180227/a53a6785/attachment-0001.html>


More information about the llvm-bugs mailing list