<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 --- - llvm crashes with Linux kernel code on ARM target"
   href="http://llvm.org/bugs/show_bug.cgi?id=15640">15640</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm crashes with Linux kernel code on ARM target
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>weimingz@codeaurora.org
          </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>Created <span class=""><a href="attachment.cgi?id=10264" name="attach_10264" title="clang -O3 q">attachment 10264</a> <a href="attachment.cgi?id=10264&action=edit" title="clang -O3 q">[details]</a></span>
clang -O3 q

clang: /home/weimingz/llvm/include/llvm/CodeGen/MachineOperand.h:260: unsigned
int llvm::MachineOperand::getReg() const: Assertion `isReg() && "This is not a
register operand!"' failed.
0  clang           0x0000000002c7e165 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1  clang           0x0000000002c7e3e2
2  clang           0x0000000002c7de3a
3  libpthread.so.0 0x00007fa103acc8f0
4  libc.so.6       0x00007fa102bb3a75 gsignal + 53
5  libc.so.6       0x00007fa102bb75c0 abort + 384
6  libc.so.6       0x00007fa102bac941 __assert_fail + 241
7  clang           0x00000000020a6a79
8  clang           0x00000000020c68d9
llvm::ARMBaseRegisterInfo::eliminateFrameIndex(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >, int, unsigned int,
llvm::RegScavenger*) const + 935
9  clang           0x00000000024bce82
llvm::PEI::replaceFrameIndices(llvm::MachineFunction&) + 1476
10 clang           0x00000000024b9b33
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 571
11 clang           0x0000000002476ca5
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95
12 clang           0x0000000002b54c77
llvm::FPPassManager::runOnFunction(llvm::Function&) + 393
13 clang           0x0000000002b54e77
llvm::FPPassManager::runOnModule(llvm::Module&) + 89
14 clang           0x0000000002b551f2
llvm::MPPassManager::runOnModule(llvm::Module&) + 576
15 clang           0x0000000002b55818 llvm::PassManagerImpl::run(llvm::Module&)
+ 254
16 clang           0x0000000002b55b73 llvm::PassManager::run(llvm::Module&) +
39
17 clang           0x0000000000e83ada
18 clang           0x0000000000e83bb2
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 140
19 clang           0x0000000000e7e2d4
20 clang           0x0000000001062e7f clang::ParseAST(clang::Sema&, bool, bool)
+ 780
21 clang           0x0000000000c371da clang::ASTFrontendAction::ExecuteAction()
+ 298
22 clang           0x0000000000e7d139 clang::CodeGenAction::ExecuteAction() +
1425
23 clang           0x0000000000c36d5a clang::FrontendAction::Execute() + 200
24 clang           0x0000000000c0bfaa
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 728
25 clang           0x0000000000bdaa28
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1018
26 clang           0x0000000000bca930 cc1_main(char const**, char const**, char
const*, void*) + 754
27 clang           0x0000000000bd4f56 main + 499
28 libc.so.6       0x00007fa102b9ec4d __libc_start_main + 253
29 clang           0x0000000000bc9fa9
Stack dump:
0.    Program arguments: /scratch/llvm-build/Debug+Asserts/bin/clang -cc1
-triple armv4t-none-linux-gnueabi -emit-obj -disable-free -main-file-name
context-parsed.i -mrelocation-model static -fmath-errno -ffp-contract=fast
-masm-verbose -mconstructor-aliases -target-abi aapcs-linux -target-cpu
arm7tdmi -mfloat-abi soft -target-feature +soft-float-abi
-target-linker-version 2.20.1 -momit-leaf-frame-pointer -resource-dir
/local/scratch/llvm-build/mainline-state-transtion/Debug+Asserts/bin/../lib/clang/3.3
-O3 -fdebug-compilation-dir
/prj/llvm-arm/home/weimingz/llvm_tests/bug_asm_inline/unittest -ferror-limit 19
-fmessage-length 174 -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/context-parsed-VKo8Pc.o -x cpp-output
context-parsed.i</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>