https://bugs.llvm.org/show_bug.cgi?id=39882

Reid Kleckner <r...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 CC|                            |r...@google.com

--- Comment #1 from Reid Kleckner <r...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to