[LLVMbugs] [Bug 17759] New: llvm::StoreInst::StoreInst crash with release ARM iOS build.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 31 11:21:43 PDT 2013


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

            Bug ID: 17759
           Summary: llvm::StoreInst::StoreInst crash with release ARM iOS
                    build.
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: justincohen at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11465
  --> http://llvm.org/bugs/attachment.cgi?id=11465&action=edit
test case file.

Crash while building release ARM for iOS.  Apologies for the large test case, I
gave up on multidelta when I got to 100 lines.


0  clang             0x0000000101ae86e8 llvm::sys::PrintStackTrace(__sFILE*) +
40
1  clang             0x0000000101ae8c24 abort + 676
2  libsystem_c.dylib 0x00007fff86b4190a _sigtramp + 26
3  libsystem_c.dylib 0x00000001ffffffff _sigtramp + 2035017487
4  clang             0x0000000101a5f1a6
llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool,
llvm::Instruction*) + 54
5  clang             0x0000000100da3e84 llvm::createLoopVectorizePass(bool) +
100724
6  clang             0x00000001002b1a51
clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) + 865
7  clang             0x00000001002afeee
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 814
8  clang             0x00000001002b5d1b
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) + 91
9  clang             0x00000001002b54d4
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&,
bool, clang::CodeGen::AggValueSlot) + 324
10 clang             0x00000001002b036b
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 379
11 clang             0x00000001002afbeb
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 43
12 clang             0x00000001001f8603
clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&)
+ 547
13 clang             0x00000001002c3aba
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 586
14 clang             0x00000001001e7897
clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl
const*, clang::CXXCtorType) + 343
15 clang             0x00000001002cb984
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 276
16 clang             0x00000001002c806b
clang::CodeGen::CodeGenModule::EmitDeferred() + 27
17 clang             0x00000001002c7ed1
clang::CodeGen::CodeGenModule::Release() + 17
18 clang             0x00000001002bfd6e
clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 1054
19 clang             0x0000000100311c14 clang::ParseAST(clang::Sema&, bool,
bool) + 484
20 clang             0x00000001002befa1 clang::CodeGenAction::ExecuteAction() +
545
21 clang             0x0000000100068ac4 clang::FrontendAction::Execute() + 116
22 clang             0x00000001000420bd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
23 clang             0x00000001000090d8
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3352
24 clang             0x0000000100001279 cc1_main(char const**, char const**,
char const*, void*) + 793
25 clang             0x00000001000073af main + 8911
1.    <eof> parser at end of file
2.    Per-file LLVM IR generation
3.    main.mm:92:17: Generating code for declaration '<anonymous
namespace>::MainControllerTest::MainControllerTest'
4.    main.mm:92:38: LLVM IR generation of compound statement ('{}')
Segmentation fault: 11

Run attached test_case.mm with:

llvm-build/Release+Asserts/bin/clang -cc1 -triple thumbv7-apple-ios6.0.0
-emit-obj -mrelax-all -disable-free -mrelocation-model pic -pic-level 2
-mdisable-fp-elim -masm-verbose -target-cpu cortex-a8 -target-feature
+soft-float-abi -target-abi apcs-gnu -mfloat-abi soft -target-linker-version
133.3 -gdwarf-2  -O0 -std=gnu++0x  -stack-protector 1 -mstackrealign -fblocks
-fno-rtti -fno-threadsafe-statics -fobjc-runtime=ios-6.0.0   -x objective-c++
test_case.mm

-- 
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/20131031/1f8b7c1d/attachment.html>


More information about the llvm-bugs mailing list