<html>
<head>
<base href="http://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 --- - Assert failure in ARMAsmPrinter.cpp:225."
href="http://llvm.org/bugs/show_bug.cgi?id=16736">16736</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assert failure in ARMAsmPrinter.cpp:225.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>xhwang@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>cit-exception-spec-mismatch -Wno-abi -c
../../content/browser/android/edge_effect.cc -o
obj/content/browser/android/content_browser.edge_effect.o
clang:
/usr/local/google/home/thakis/src/chrome/src/third_party/llvm/lib/Target/ARM/ARMAsmPrinter.cpp:225:
virtual void llvm::ARMAsmPrinter::EmitDwarfRegOp(const llvm::MachineLocation &,
bool) const: Assertion `MLoc.isReg() && !Indirect && "This doesn't support
offset/indirection - implement it if needed"' failed.
0 clang 0x00000000020bf3f5 llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 clang 0x00000000020bf843
2 libc.so.6 0x00007f0de94b64a0
3 libc.so.6 0x00007f0de94b6425 gsignal + 53
4 libc.so.6 0x00007f0de94b9b8b abort + 379
5 libc.so.6 0x00007f0de94af0ee
6 libc.so.6 0x00007f0de94af192
7 clang 0x0000000001628ffb
8 clang 0x0000000001abf860 llvm::DwarfDebug::emitDebugLoc() + 896
9 clang 0x0000000001abf100 llvm::DwarfDebug::endModule() + 480
10 clang 0x0000000001aaebc3 llvm::AsmPrinter::doFinalization(llvm::Module&)
+ 499
11 clang 0x000000000205f1ae
llvm::FPPassManager::doFinalization(llvm::Module&) + 94
12 clang 0x000000000205f4d2 llvm::MPPassManager::runOnModule(llvm::Module&)
+ 690
13 clang 0x000000000205fabf llvm::PassManagerImpl::run(llvm::Module&) + 559
14 clang 0x000000000205fc5a llvm::PassManager::run(llvm::Module&) + 10
15 clang 0x0000000000831787
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 6007
16 clang 0x000000000082f236
17 clang 0x00000000006c45e4
clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 68
18 clang 0x0000000000994f23 clang::ParseAST(clang::Sema&, bool, bool) + 531
19 clang 0x000000000082e642 clang::CodeGenAction::ExecuteAction() + 514
20 clang 0x00000000006ad760 clang::FrontendAction::Execute() + 112
21 clang 0x000000000068b1bd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 925
22 clang 0x0000000000671adc
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2940
23 clang 0x0000000000668bce cc1_main(char const**, char const**, char
const*, void*) + 718
24 clang 0x000000000066f750 main + 9904
25 libc.so.6 0x00007f0de94a176d __libc_start_main + 237
26 clang 0x0000000000668839
Stack dump:
....
s -vectorize-loops -load
/hdd2/clank/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-add-plugin find-bad-constructs -mllvm -arm-enable-ehabi -o
/tmp/edge_effect-9e29e5.s -x c++ ../../content/browser/android/edge_effect.cc
1. <eof> parser at end of file
2. Code generation
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.4 (trunk 186332)
Target: arm--linux-androideabi
Thread model: posix
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:
********************
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/edge_effect-b17e36.cpp
clang: note: diagnostic msg: /tmp/edge_effect-b17e36.sh
clang: note: diagnostic msg:
********************
The code causing this is:
void EdgeEffect::Absorb(base::TimeTicks current_time, float velocity) {
...
velocity = dpi_scale_ * std::max(kMinVelocity, std::abs(velocity));
...
}
where velocity is set on the line where it's accessed.</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>