llvm-project/llvm/lib/DebugInfo/PDB/Native
Zachary Turner ee9906d884 [LLD/PDB] Write actual records to the globals stream.
Previously we were writing an empty globals stream.  Windows
tools interpret this as "private symbols are not present in
this PDB", even when they are, so we need to fix this.  Regardless,
without it we don't have information about global variables, so
we need to fix it anyway.  This patch does that.

With this patch, the "lm" command in WinDbg correctly reports
that we have private symbols available, but the "dv" command
still refuses to display local variables.

Differential Revision: https://reviews.llvm.org/D36535

llvm-svn: 310743
2017-08-11 19:00:03 +00:00
..
DbiModuleDescriptor.cpp [llvm-pdbdump] Abstract some of the YAML/Raw printing code. 2017-04-29 01:13:21 +00:00
DbiModuleDescriptorBuilder.cpp [PDB] Merge Global and Publics Builders. 2017-08-09 04:23:25 +00:00
DbiModuleList.cpp [CodeView, PDB] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-06-30 23:06:03 +00:00
DbiStream.cpp Fix some differences between lld and MSVC generated PDBs. 2017-07-07 18:45:56 +00:00
DbiStreamBuilder.cpp [PDB] Fix section contributions 2017-08-03 21:15:09 +00:00
EnumTables.cpp
GSIStreamBuilder.cpp [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00
GlobalsStream.cpp [PDB] Improve GSI hash table dumping for publics and globals 2017-07-26 00:40:36 +00:00
Hash.cpp [CodeView, PDB] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-06-30 23:06:03 +00:00
HashTable.cpp [CodeView, PDB] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-06-30 23:06:03 +00:00
InfoStream.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
InfoStreamBuilder.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
ModuleDebugStream.cpp [CodeView, PDB] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-06-30 23:06:03 +00:00
NamedStreamMap.cpp [PDB] More changes to bring lld PDBs to parity with MSVC. 2017-07-07 20:25:39 +00:00
NativeBuiltinSymbol.cpp Fix non-Windows build after PDB native builtin type change 2017-07-12 19:46:35 +00:00
NativeCompilandSymbol.cpp [PDB] Enable NativeSession to create symbols for built-in types on demand 2017-07-12 19:38:11 +00:00
NativeEnumModules.cpp Introduce symbol cache to PDB NativeSession 2017-06-28 22:47:40 +00:00
NativeEnumSymbol.cpp Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
NativeEnumTypes.cpp Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
NativeExeSymbol.cpp Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
NativeRawSymbol.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
NativeSession.cpp Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
PDBFile.cpp [pdb/lld] Write a valid FPM. 2017-08-02 22:31:39 +00:00
PDBFileBuilder.cpp [PDB] Merge Global and Publics Builders. 2017-08-09 04:23:25 +00:00
PDBStringTable.cpp [llvm-pdbutil] Improve diff mode. 2017-07-07 18:45:37 +00:00
PDBStringTableBuilder.cpp Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
PublicsStream.cpp [PDB] Fix an issue writing the publics stream. 2017-08-09 04:23:59 +00:00
RawError.cpp [pdb] Write the module info and symbol record streams. 2017-03-15 22:18:53 +00:00
SymbolStream.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
TpiHashing.cpp [PDB] Finish and simplify TPI hashing 2017-07-18 00:33:45 +00:00
TpiStream.cpp [codeview] Remove TypeServerHandler and PDBTypeServerHandler 2017-07-17 20:28:06 +00:00
TpiStreamBuilder.cpp [PDB] Fix use after free. 2017-06-03 00:33:35 +00:00