<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 --- - clang++ crash in llvm::LiveVariables::HandleVirtRegUse"
href="http://llvm.org/bugs/show_bug.cgi?id=15367">15367</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang++ crash in llvm::LiveVariables::HandleVirtRegUse
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dlively@infinio.com
</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>lang++ -m64 -Wall -Wextra -Werror -Wconversion -Wundef -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c++11 -Wpointer-arith
-Wwrite-strings -Wno-sign-conversion -Woverloaded-virtual
-Wno-tautological-compare -fPIC -I/home/lively/src/cache.git -isystem
/home/lively/src/cache.git/ext/shared/boost/include -O2 -fno-omit-frame-pointer
-DINFINIO_DEBUG=0 -ggdb -DSL_LOG_LEVEL=0 -DGOOGLE_STRIP_LOG=0
-Qunused-arguments -c -o /dev/null
/home/lively/src/cache.git/muduo/FileUtil.cpp
0 clang 0x000000000196ab32
1 clang 0x000000000196aeb3
2 libpthread.so.0 0x00007f1acf6cdcb0
3 clang 0x0000000001542774
llvm::LiveVariables::HandleVirtRegUse(unsigned int, llvm::MachineBasicBlock*,
llvm::MachineInstr*) + 84
4 clang 0x0000000001544dad
llvm::LiveVariables::runOnMachineFunction(llvm::MachineFunction&) + 1693
5 clang 0x0000000001557193
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 99
6 clang 0x000000000191871e
llvm::FPPassManager::runOnFunction(llvm::Function&) + 318
7 clang 0x000000000191894b
llvm::FPPassManager::runOnModule(llvm::Module&) + 139
8 clang 0x0000000001918af4
llvm::MPPassManager::runOnModule(llvm::Module&) + 308
9 clang 0x00000000019191c3 llvm::PassManagerImpl::run(llvm::Module&)
+ 339
10 clang 0x00000000019192ba llvm::PassManager::run(llvm::Module&) +
10
11 clang 0x000000000078e7d7
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5687
12 clang 0x000000000078c2cb
13 clang 0x0000000000894a83 clang::ParseAST(clang::Sema&, bool, bool)
+ 531
14 clang 0x000000000078b569 clang::CodeGenAction::ExecuteAction() +
73
15 clang 0x00000000006527b3 clang::FrontendAction::Execute() + 83
16 clang 0x000000000063637d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 845
17 clang 0x000000000061fb31
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3665
18 clang 0x0000000000617696 cc1_main(char const**, char const**, char
const*, void*) + 742
19 clang 0x000000000061c02c main + 2972
20 libc.so.6 0x00007f1ace90776d __libc_start_main + 237
21 clang 0x00000000006172c9
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name FileUtil.cpp -mrelocation-model pic -pic-level 2
-mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version
2.22.90.20120924 -momit-leaf-frame-pointer -g -coverage-file /dev/null
-resource-dir /usr/local/bin/../lib/clang/3.2 -isystem
/home/lively/src/cache.git/ext/shared/boost/include -D _GNU_SOURCE -D
_LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D INFINIO_DEBUG=0 -D SL_LOG_LEVEL=0
-D GOOGLE_STRIP_LOG=0 -I /home/lively/src/cache.git -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Wall -Wextra -Werror -Wconversion
-Wundef -Wpointer-arith -Wwrite-strings -Wno-sign-conversion
-Woverloaded-virtual -Wno-tautological-compare -std=c++11 -fconst-strings
-fdeprecated-macro -fdebug-compilation-dir /home/lively/src/cache.git
-ferror-limit 19 -fmessage-length 131 -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /dev/null -x c++
/home/lively/src/cache.git/muduo/FileUtil.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/home/lively/src/cache.git/muduo/FileUtil.cpp'.
4. Running pass 'Live Variable Analysis' on function
'@_ZN5muduo8FileUtil8readFileISsEEiNS_11StringPieceEiPT_PlS5_S5_'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (branches/release_32 171865)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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/FileUtil-yUAkcG.cpp
clang: note: diagnostic msg: /tmp/FileUtil-yUAkcG.sh
clang: note: diagnostic msg:
********************</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>