[llvm-bugs] [Bug 34278] New: ms-pdb: segfault if linking .obj compiled with precompiled header and /Z7
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 22 02:24:24 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34278
Bug ID: 34278
Summary: ms-pdb: segfault if linking .obj compiled with
precompiled header and /Z7
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: alex-telishev at ya.ru
CC: llvm-bugs at lists.llvm.org
lld-link crashes if trying to link any .obj file compiled with /Z7 and /Yu
option. It crashes in TypeStreamMerger::remapIndex function in
LastError = joinErrors(std::move(*LastError), errorCorruptRecord());
because LastError is nullopt. If you fix this segfault "The CodeView record is
corrupted." error is printed. The problem is probably because LF_PRECOMP record
is not handled at all.
--
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/20170822/31a80c9d/attachment.html>
More information about the llvm-bugs
mailing list