[LLVMbugs] [Bug 16736] New: Assert failure in ARMAsmPrinter.cpp:225.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 29 11:13:04 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16736
Bug ID: 16736
Summary: Assert failure in ARMAsmPrinter.cpp:225.
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: xhwang at chromium.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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
http://llvm.org/bugs/ 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.
--
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/20130729/07524307/attachment.html>
More information about the llvm-bugs
mailing list