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

            Bug ID: 37634
           Summary: MSVC can't find function symbols in lld-linked
                    binaries
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: dma...@mozilla.com
                CC: llvm-bugs@lists.llvm.org, r...@google.com,
                    ztur...@google.com

Porting this from a Firefox bug report at
https://bugzilla.mozilla.org/show_bug.cgi?id=1458109

Using this build:
https://queue.taskcluster.net/v1/task/GoXhaNayTkig6I6H9szsYw/runs/0/artifacts/public/build/target.zip

whose PDBs are here:
https://queue.taskcluster.net/v1/task/GoXhaNayTkig6I6H9szsYw/runs/0/artifacts/public/build/target.crashreporter-symbols-full.zip

MSVC's debugger can't invoke functions in xul.dll. Member functions give a
message like: 'Function nsIFrame::DumpFrameTree has no address, possibly due to
compiler optimizations.'

Non-member functions give a message like 'identifier "DumpJSStack" is
undefined'.

This happens when the binary is linked with lld-link, regardless of whether the
compiler was cl or clang-cl. WinDbg can see these symbols with 'x' just fine,
regardless of linker.

-- 
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