<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Regression(likely r289252): Assertion failed: (T->getAs<PointerType>() && "Invalid type"), function isPointerZeroInitializable when building chrome code"
href="https://llvm.org/bugs/show_bug.cgi?id=31374">31374</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression(likely r289252): Assertion failed: (T->getAs<PointerType>() && "Invalid type"), function isPointerZeroInitializable when building chrome code
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Formatter
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>