[LLVMbugs] [Bug 17254] New: Assertion `MLoc.isReg() && !Indirect && "This doesn't support offset/indirection - implement it if needed"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Sep 15 14:00:53 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17254
Bug ID: 17254
Summary: Assertion `MLoc.isReg() && !Indirect && "This doesn't
support offset/indirection - implement it if needed"'
failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: bero at lindev.ch
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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
--
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/20130915/15c37d0c/attachment.html>
More information about the llvm-bugs
mailing list