<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 --- - ARMAsmPrinter::EmitDwarfRegOp: Assertion `MLoc.isReg() && !Indirect && "This doesn't support offset/indirection - implement it if needed"' failed."
href="http://llvm.org/bugs/show_bug.cgi?id=16955">16955</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARMAsmPrinter::EmitDwarfRegOp: Assertion `MLoc.isReg() && !Indirect && "This doesn't support offset/indirection - implement it if needed"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>Backend: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eugeni.stepanov@gmail.com
</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>$ cat 1.cc
int f();
void g(double);
class A
{
void method(bool, bool, float, float);
};
void A::method(bool, bool, float, float x)
{
x = f();
g(x);
}
$ /code/llvm/build/bin/clang -cc1 -triple thumbv7--linux-androideabi -S -Os -g
1.cc
clang: ../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 0x0000000001369895 llvm::sys::PrintStackTrace(_IO_FILE*) +
37
1 clang 0x0000000001369ce3
2 libpthread.so.0 0x00007f9cf7009cb0
3 libc.so.6 0x00007f9cf6248425 gsignal + 53
4 libc.so.6 0x00007f9cf624bb8b abort + 379
5 libc.so.6 0x00007f9cf62410ee
6 libc.so.6 0x00007f9cf6241192
7 clang 0x000000000068555b
8 clang 0x0000000000b920b6 llvm::DwarfDebug::emitDebugLoc() + 902
9 clang 0x0000000000b91920 llvm::DwarfDebug::endModule() + 496
10 clang 0x0000000000b813f3
llvm::AsmPrinter::doFinalization(llvm::Module&) + 499
11 clang 0x00000000012887be
llvm::FPPassManager::doFinalization(llvm::Module&) + 94
12 clang 0x0000000001288ae2
llvm::MPPassManager::runOnModule(llvm::Module&) + 690
13 clang 0x00000000012890df llvm::PassManagerImpl::run(llvm::Module&)
+ 575
14 clang 0x0000000001389a47
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 6007
15 clang 0x0000000001386cf6
16 clang 0x0000000001634e53 clang::ParseAST(clang::Sema&, bool, bool)
+ 531
17 clang 0x0000000001386102 clang::CodeGenAction::ExecuteAction() +
514
18 clang 0x000000000157e010 clang::FrontendAction::Execute() + 112
19 clang 0x000000000155ce3d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 925
20 clang 0x000000000136da83
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2931
21 clang 0x0000000000672fdf cc1_main(char const**, char const**, char
const*, void*) + 703
22 clang 0x0000000000671c9e main + 8862
23 libc.so.6 0x00007f9cf623376d __libc_start_main + 237
24 clang 0x000000000066f905
Stack dump:
0. Program arguments: /code/llvm/build/bin/clang -cc1 -triple
thumbv7--linux-androideabi -S -Os -g 1.cc
1. <eof> parser at end of file
2. Code generation
Aborted (core dumped)</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>