<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 --- - Mips debug information failure."
href="http://llvm.org/bugs/show_bug.cgi?id=19815">19815</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mips debug information failure.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>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>rich@pennware.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>Created <span class=""><a href="attachment.cgi?id=12553" name="attach_12553" title=".sh and .c files">attachment 12553</a> <a href="attachment.cgi?id=12553&action=edit" title=".sh and .c files">[details]</a></span>
.sh and .c files
This fails with TOT r209288:
[~] dev% sh make_hash-a44fda.sh
clang: /home/rich/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1209: void
llvm::DwarfDebug::collectVariableInfo(llvm::SmallPtrSet<const llvm::MDNode*,
16u>&): Assertion `SLabel && "Forgot label after clobber instruction"' failed.
0 clang 0x000000000254f9a2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 clang 0x000000000254f5c4
2 libpthread.so.0 0x000000356880f750
3 libc.so.6 0x0000003568035c39 gsignal + 57
4 libc.so.6 0x0000003568037348 abort + 328
5 libc.so.6 0x000000356802eb96
6 libc.so.6 0x000000356802ec42
7 clang 0x0000000001e100e5
llvm::DwarfDebug::collectVariableInfo(llvm::SmallPtrSet<llvm::MDNode const*,
16u>&) + 3765
8 clang 0x0000000001e10341
9 clang 0x0000000001df45b0 llvm::AsmPrinter::EmitFunctionBody() +
4528
10 clang 0x000000000177d5dc
11 clang 0x00000000024e381f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
12 clang 0x00000000024e3cfb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
13 clang 0x00000000024e403d
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 797
14 clang 0x00000000008b104e
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
2990
15 clang 0x00000000008abb0f
16 clang 0x0000000000a4edbb clang::ParseAST(clang::Sema&, bool, bool)
+ 507
17 clang 0x00000000008ac6bb clang::CodeGenAction::ExecuteAction() +
59
18 clang 0x00000000007213f6 clang::FrontendAction::Execute() + 150
19 clang 0x0000000000701240
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 352
20 clang 0x00000000006e9d41
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1921
21 clang 0x00000000006e4588 cc1_main(char const**, char const**, char
const*, void*) + 1272
22 clang 0x00000000006bf143 main + 755
23 libc.so.6 0x0000003568021d65 __libc_start_main + 245
24 clang 0x00000000006e32cd
Stack dump:
0. Program arguments: /home/rich/llvm-dir/bin/clang -cc1 -triple
mips-ellcc-linux -S -disable-free -main-file-name make_hash.c
-mrelocation-model static -fmath-errno -no-integrated-as -mconstructor-aliases
-target-cpu mips32r2 -target-abi o32 -mfloat-abi hard -target-linker-version
2.23.2 -momit-leaf-frame-pointer -g -D HAVE_CONFIG_H -D USE_BUILD_CC -D
HAVE_CONFIG_H -D NDEBUG -O2 -Wno-unneeded-internal-declaration -Wno-cast-align
-Wno-incompatible-pointer-types -Wno-string-plus-int -Wno-pointer-sign
-Wno-array-bounds -Wno-dangling-else -Wno-int-to-pointer-cast
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 80 -mstackrealign
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -x c make_hash-a44fda.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'make_hash-a44fda.c'.
4. Running pass 'Mips Assembly Printer' on function '@_nc_doalloc'
make_hash-a44fda.sh: line 1: 8029 Aborted
"/home/rich/llvm-dir/bin/clang" -cc1 -triple mips-ellcc-linux -S -disable-free
-main-file-name make_hash.c -mrelocation-model static -fmath-errno
-no-integrated-as -mconstructor-aliases -target-cpu mips32r2 -target-abi o32
-mfloat-abi hard -target-linker-version 2.23.2 -momit-leaf-frame-pointer -g -D
"HAVE_CONFIG_H" -D "USE_BUILD_CC" -D "HAVE_CONFIG_H" -D "NDEBUG" -O2
-Wno-unneeded-internal-declaration -Wno-cast-align
-Wno-incompatible-pointer-types -Wno-string-plus-int -Wno-pointer-sign
-Wno-array-bounds -Wno-dangling-else -Wno-int-to-pointer-cast
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 80 -mstackrealign
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -x c make_hash-a44fda.c
[~] dev%</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>