[llvm-bugs] [Bug 12733] LLVM creates DWARF that GDB doesn't grok: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 15 22:12:53 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=12733
Eric Christopher <echristo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Eric Christopher <echristo at gmail.com> ---
Debug info is still pretty bad for locations, but this particular bug appears
fixed:
(gdb) bt
#0 EmitOpcodePrefix (MemOperand=0, this=<optimized out>, TSFlags=<optimized
out>, CurByte=<optimized out>, MI=..., Desc=..., STI=..., OS=...)
at
/usr/local/google/home/echristo/sources/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp:1131
#1 (anonymous namespace)::X86MCCodeEmitter::encodeInstruction (this=0x358bb80,
MI=..., OS=..., Fixups=..., STI=...) at
/usr/local/google/home/echristo/sources/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp:1223
#2 0x00000000025d4c8d in llvm::MCObjectStreamer::EmitInstToFragment
(this=0x358bd10, Inst=..., STI=...) at
/usr/local/google/home/echristo/sources/llvm/lib/MC/MCObjectStreamer.cpp:277
#3 0x0000000001d89c6c in EmitInstruction (Inst=<error reading variable: Cannot
access memory at address 0x0>, Operands=..., Out=..., this=<optimized out>)
at
/usr/local/google/home/echristo/sources/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:2425
#4 MatchAndEmitATTInstruction (this=<optimized out>, IDLoc=..., Operands=...,
Out=..., ErrorInfo=<optimized out>, Opcode=<optimized out>,
MatchingInlineAsm=<optimized out>)
at
/usr/local/google/home/echristo/sources/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:2513
#5 (anonymous namespace)::X86AsmParser::MatchAndEmitInstruction
(this=0x358eda0, IDLoc=..., Opcode=<optimized out>, Operands=..., Out=...,
ErrorInfo=<optimized out>, MatchingInlineAsm=<optimized out>)
at
/usr/local/google/home/echristo/sources/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:2436
#6 0x00000000025671ae in (anonymous namespace)::AsmParser::parseStatement
(this=<optimized out>, Info=..., SI=<optimized out>) at
/usr/local/google/home/echristo/sources/llvm/lib/MC/MCParser/AsmParser.cpp:1684
#7 0x0000000002561d1c in (anonymous namespace)::AsmParser::Run
(this=0x358ca90, NoInitialTextSection=<optimized out>, NoFinalize=false) at
/usr/local/google/home/echristo/sources/llvm/lib/MC/MCParser/AsmParser.cpp:654
#8 0x000000000071192f in ExecuteAssembler (Opts=..., Diags=...) at
/usr/local/google/home/echristo/sources/llvm/tools/clang/tools/driver/cc1as_main.cpp:417
#9 cc1as_main (Argv=..., Argv0=<optimized out>, MainAddr=0x80) at
/usr/local/google/home/echristo/sources/llvm/tools/clang/tools/driver/cc1as_main.cpp:502
#10 0x000000000071615f in ExecuteCC1Tool (Tool=..., argv=...) at
/usr/local/google/home/echristo/sources/llvm/tools/clang/tools/driver/driver.cpp:303
#11 main (argc_=<optimized out>, argv_=<optimized out>) at
/usr/local/google/home/echristo/sources/llvm/tools/clang/tools/driver/driver.cpp:366
--
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/20151016/4f7202de/attachment.html>
More information about the llvm-bugs
mailing list