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: unassignedb...@nondot.org
          Reporter: ztur...@google.com
                CC: compn...@compnerd.org, llvm-bugs@lists.llvm.org,
                    r...@google.com, ztur...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to