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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs