[LLVMbugs] [Bug 16955] New: ARMAsmPrinter::EmitDwarfRegOp: 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
Wed Aug 21 05:54:36 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16955

            Bug ID: 16955
           Summary: ARMAsmPrinter::EmitDwarfRegOp: Assertion `MLoc.isReg()
                    && !Indirect && "This doesn't support
                    offset/indirection - implement it if needed"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: eugeni.stepanov at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ 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)

-- 
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/20130821/c1d3144f/attachment.html>


More information about the llvm-bugs mailing list