[LLVMbugs] [Bug 19815] New: Mips debug information failure.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 21 04:52:09 PDT 2014


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

            Bug ID: 19815
           Summary: Mips debug information failure.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12553
  --> http://llvm.org/bugs/attachment.cgi?id=12553&action=edit
.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%

-- 
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/20140521/51679cbf/attachment.html>


More information about the llvm-bugs mailing list