[llvm-bugs] [Bug 34303] clang on linux produces .pdb for windows target, but windbg won't load it
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 23 17:11:50 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34303
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |rnk at google.com
Resolution|--- |FIXED
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
This was fixed in r306304. We forgot to fill in one of the fields of the debug
directory:
- // TODO(compnerd) get the file offset
- D->PointerToRawData = 0;
The dbghelp error message is actually quite helpful, because "MZ" is actually
the magic for a DOS executable header. Our file offset was zero, so it tried to
parse from there, and it printed the unrecognized magic.
--
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/20170824/57b425f9/attachment.html>
More information about the llvm-bugs
mailing list