[llvm-bugs] [Bug 31374] New: Regression(likely r289252): Assertion failed: (T->getAs<PointerType>() && "Invalid type"), function isPointerZeroInitializable when building chrome code

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 14 12:27:43 PST 2016


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

            Bug ID: 31374
           Summary: Regression(likely r289252): Assertion failed:
                    (T->getAs<PointerType>() && "Invalid type"), function
                    isPointerZeroInitializable when building chrome code
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Seeing this on a chromium bot:

FAILED: .../gtm_session_fetcher/gtm_session_fetcher/GTMSessionFetcher.o 
/b/build/slave/cache/cipd/goma/gomacc
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
...GTMSessionFetcher.o.d -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DDISABLE_NACL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=289575-1
-DCR_XCODE_VERSION=0810 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../../gtm_session_fetcher/Source
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-fcolor-diagnostics -arch x86_64 -O0 -gdwarf-2 -isysroot
/b/build/slave/trunk-autoroller/build/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.1.sdk
-stdlib=libc++ -mios-simulator-version-min=9.0 -fvisibility=hidden
-Wheader-hygiene -Wstring-conversion -Werror -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-covered-switch-default -Wno-deprecated-register
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member -std=c99 -fobjc-arc
-Wno-error=deprecated-declarations -c
../../gtm_session_fetcher/Source/GTMSessionFetcher.m -o
gtm_session_fetcher/GTMSessionFetcher.o
Assertion failed: (T->getAs<PointerType>() && "Invalid type"), function
isPointerZeroInitializable, file
/b/build/slave/mac_upload_clang/build/src/third_party/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp,
line 740.
0  clang                    0x000000010570dbd6
llvm::sys::PrintStackTraceOnErrorSignal(llvm::StringRef, bool) + 950
1  libsystem_platform.dylib 0x00007fff9d49f52a _sigtramp + 26
Stack dump:
../..gtm_session_fetcher/Source/GTMSessionFetcher.m 
1.    ../../gtm_session_fetcher/Source/GTMSessionFetcher.m:3866:1: current
parser token '@'
2.    ../../gtm_session_fetcher/Source/GTMSessionFetcher.m:192:1: LLVM IR
generation of declaration 'GTMSessionFetcher::load'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 289575)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir:
/b/build/slave/trunk-autoroller/build/src/out/Debug-iphonesimulator/../../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:

-- 
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/20161214/e4fe6f9c/attachment.html>


More information about the llvm-bugs mailing list