[llvm-bugs] [Bug 34054] New: WinDbg claims that our PDB does not have private symbols:

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 3 13:53:17 PDT 2017


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

            Bug ID: 34054
           Summary: WinDbg claims that our PDB does not have private
                    symbols:
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: zturner at google.com
                CC: compnerd at compnerd.org, llvm-bugs at lists.llvm.org,
                    rnk at google.com, zturner at google.com

void *__purecall = 0;

struct HelloPoint {
  int X = 3;
  int Y = 4;
  int Z = 5;
};

int main(int argc, char **argv) {
  HelloPoint P;
  return P.X + P.Y + P.Z;
}

compile and link as:
> clang-cl /c /Z7 hello.cpp /GS- /Fohello-clang.obj
> lld-link /debug /pdb:hello-clang.pdb /nodefaultlib /entry:main /out:hello-clang.exe hello-clang.obj


Open under WinDbg and type ".reload /f" followed by "lm".  It claims that our
PDB is loaded with (PDB symbols), but it should say (private pdb symbols).

This may be the same as Bug #34049, but since the symptoms are entirely
different, it's hard to say.

-- 
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/20170803/088f78c1/attachment.html>


More information about the llvm-bugs mailing list