[llvm-bugs] [Bug 39882] [codeview] LLVM-generated PDBs contain CodeView symbols with invalid Seg:Offset
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 5 10:54:09 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39882
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
CC| |rnk at google.com
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
I strongly suspect these globals were discarded by /OPT:REF. When this happens,
those fields will remain unrelocated, and they typically contain zeroes.
Fixing it should be easy, I think we can just discard such symbol records from
the globals stream if the segment index/offset pair is zero. IIRC valid
segments start at 1 (maybe?), so zero should be invalid.
*** This bug has been marked as a duplicate of bug 39147 ***
--
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/20181205/f72c6123/attachment.html>
More information about the llvm-bugs
mailing list