<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 --- - Assertion `MLoc.isReg() && !Indirect && "This doesn't support offset/indirection - implement it if needed"' failed."
href="http://llvm.org/bugs/show_bug.cgi?id=17254">17254</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `MLoc.isReg() && !Indirect && "This doesn't support offset/indirection - implement it if needed"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bero@lindev.ch
</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>This happens with current (as of 2013-09-14) llvm+clang trunk:
clang: 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 libLLVM-3.4svn.so 0x00000038f5c5ce32 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 libLLVM-3.4svn.so 0x00000038f5c5c219
2 libpthread.so.0 0x00000038e120f710
3 libc.so.6 0x00000038e0a36067 gsignal + 55
4 libc.so.6 0x00000038e0a37828 abort + 328
5 libc.so.6 0x00000038e0a2ee03
6 libc.so.6 0x00000038e0a2eeb2
7 libLLVM-3.4svn.so 0x00000038f4f866f4
8 libLLVM-3.4svn.so 0x00000038f511fcdf llvm::DwarfDebug::emitDebugLoc() + 1119
9 libLLVM-3.4svn.so 0x00000038f512806a llvm::DwarfDebug::endModule() + 538
10 libLLVM-3.4svn.so 0x00000038f50ffa5b
llvm::AsmPrinter::doFinalization(llvm::Module&) + 603
11 libLLVM-3.4svn.so 0x00000038f5442dad
llvm::FPPassManager::doFinalization(llvm::Module&) + 125
12 libLLVM-3.4svn.so 0x00000038f54485bd
llvm::MPPassManager::runOnModule(llvm::Module&) + 797
13 libLLVM-3.4svn.so 0x00000038f5448725
llvm::PassManagerImpl::run(llvm::Module&) + 245
14 clang 0x0000000000767992
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 3650
15 clang 0x0000000000764e5d
16 clang 0x000000000090dd64 clang::ParseAST(clang::Sema&, bool,
bool) + 372
17 clang 0x00000000005de61a clang::FrontendAction::Execute() + 282
18 clang 0x00000000005c1670
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 352
19 clang 0x00000000005a745a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1722
20 clang 0x00000000005a0770 cc1_main(char const**, char const**,
char const*, void*) + 1232
21 clang 0x000000000059ec8e main + 622
22 libc.so.6 0x00000038e0a21dc5 __libc_start_main + 245
23 clang 0x00000000005a0131
Stack dump:
0. Program arguments: /opt/llvm-toolchain/bin/clang -cc1 -triple
thumbv7--linux-androideabi -S -disable-free -main-file-name Font.cpp
-mrelocation-model pic -pic-level 2 -pie-level 2 -fmath-errno
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu cortex-a8
-target-feature +soft-float-abi -target-feature +neon -target-abi aapcs-linux
-mfloat-abi soft -target-linker-version 2.22 -g -ffunction-sections
-fdata-sections -sys-header-deps -D _FORTIFY_SOURCE=1 -D ANDROID -D NDEBUG -D
NDEBUG -U DEBUG -D ANDROID -D NDEBUG -U DEBUG -D USE_OPENGL_RENDERER -D
GL_GLEXT_PROTOTYPES -O3 -Wno-multichar -Werror=format-security
-Wno-unused-but-set-variable -W -Wall -Wno-unused -Winit-self -Wpointer-arith
-Werror=return-type -Werror=non-virtual-dtor -Werror=address
-Werror=sequence-point -Wstrict-aliasing=2 -Werror=strict-aliasing
-Wstrict-aliasing=2 -Werror=strict-aliasing -W -Wall -Wno-unused -Winit-self
-Wpointer-arith -Wsign-promo -Werror=return-type -Werror=non-virtual-dtor
-Werror=address -Werror=sequence-point -Wstrict-aliasing=2
-Werror=strict-aliasing -Wno-error=unknown-warning-option
-Wno-error=unused-parameter -Wno-error=gnu-static-float-init
-Wno-error=unused-private-field -Wno-error=mismatched-tags
-Wno-error=ignored-attributes -Wno-error=gnu-designator -Wno-error=gnu
-Wno-error=duplicate-decl-specifier
-Wno-error=tautological-constant-out-of-range-compare -Wno-error=unsequenced
-Wno-error=return-type-c-linkage -fdeprecated-macro -fno-dwarf-directory-asm
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -stack-protector 1 -mstackrealign -fno-rtti
-fno-signed-char -fobjc-runtime=gcc -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-x c++ Font-ef9016.cpp
1. <eof> parser at end of file
2. Code generation
Font-ef9016.sh: line 1: 6092 Aborted (core dumped)
/opt/llvm-toolchain/bin/clang -cc1 -triple thumbv7--linux-androideabi -S
-disable-free -main-file-name Font.cpp -mrelocation-model pic -pic-level 2
-pie-level 2 -fmath-errno -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu cortex-a8 -target-feature +soft-float-abi
-target-feature +neon -target-abi aapcs-linux -mfloat-abi soft
-target-linker-version 2.22 -g -ffunction-sections -fdata-sections
-sys-header-deps -D "_FORTIFY_SOURCE=1" -D "ANDROID" -D "NDEBUG" -D "NDEBUG" -U
DEBUG -D "ANDROID" -D "NDEBUG" -U DEBUG -D "USE_OPENGL_RENDERER" -D
"GL_GLEXT_PROTOTYPES" -O3 -Wno-multichar -Werror=format-security
-Wno-unused-but-set-variable -W -Wall -Wno-unused -Winit-self -Wpointer-arith
-Werror=return-type -Werror=non-virtual-dtor -Werror=address
-Werror=sequence-point -Wstrict-aliasing=2 -Werror=strict-aliasing
-Wstrict-aliasing=2 -Werror=strict-aliasing -W -Wall -Wno-unused -Winit-self
-Wpointer-arith -Wsign-promo -Werror=return-type -Werror=non-virtual-dtor
-Werror=address -Werror=sequence-point -Wstrict-aliasing=2
-Werror=strict-aliasing -Wno-error=unknown-warning-option
-Wno-error=unused-parameter -Wno-error=gnu-static-float-init
-Wno-error=unused-private-field -Wno-error=mismatched-tags
-Wno-error=ignored-attributes -Wno-error=gnu-designator -Wno-error=gnu
-Wno-error=duplicate-decl-specifier
-Wno-error=tautological-constant-out-of-range-compare -Wno-error=unsequenced
-Wno-error=return-type-c-linkage -fdeprecated-macro -fno-dwarf-directory-asm
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -stack-protector 1 -mstackrealign -fno-rtti
-fno-signed-char -fobjc-runtime=gcc -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-x c++ Font-ef9016.cpp</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>