[llvm-bugs] [Bug 37634] New: MSVC can't find function symbols in lld-linked binaries

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 30 16:38:09 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: llvm-bugs at lists.llvm.org, rnk at google.com,
                    zturner at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180530/a6521c73/attachment-0001.html>


More information about the llvm-bugs mailing list