[LLVMbugs] [Bug 19667] New: Win64 binaries are undebuggable due to lack of pdata and xdata unwind info
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 6 17:10:35 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19667
Bug ID: 19667
Summary: Win64 binaries are undebuggable due to lack of pdata
and xdata unwind info
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
windbg, the debugger I usually use, appears to ignore frame pointers when
unwinding for x64. Instead, it relies on the unwind tables in pdata and xdata.
When I compile a binary with clang, those aren't present, and I get
nonsensical backtraces.
LLVM has some baseline support for Mingw64-style exceptions, where DWARF
exceptions are layered on top of Win64 exception handling and unwind info, but
we should be emitting win64 unwind info regardless of how we're going to
implement exceptions. Clang should probably be putting uwtable on its
functions, and we should feed that into MC, similar to what we do on
x86_64-linux.
--
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/20140507/4b4071b1/attachment.html>
More information about the llvm-bugs
mailing list