Lines Matching refs:file

30 // PDBSourceLineWriter uses a pdb file produced by Visual C++ to output
52 // A structure that carries information that identifies a pdb file.
55 // The basename of the pdb file from which information was loaded.
72 // A structure that carries information that identifies a PE file,
75 // The basename of the PE file.
78 // The PE file's code identifier, which consists of its timestamp
79 // and file size concatenated together into a single hex string.
90 PDB_FILE, // a .pdb file containing debug symbols
91 EXE_FILE, // a .exe or .dll file
98 // Opens the given file. For executable files, the corresponding pdb
99 // file must be available; Open will be if it is not.
100 // If there is already a pdb file open, it is automatically closed.
102 bool Open(const wstring &file, FileFormat format);
104 // Sets the code file full path. This is optional for 32-bit modules. It is
105 // also optional for 64-bit modules when there is an executable file stored
106 // in the same directory as the PDB file. It is only required for 64-bit
107 // modules when the executable file is not in the same location as the PDB
108 // file and it must be called after Open() and before WriteMap().
109 // If Open() was called for an executable file, then it is an error to call
110 // SetCodeFile() with a different file path and it will return false.
113 // Writes a map file from the current pdb file to the given file stream.
117 // Closes the current pdb file and its associated resources.
120 // Retrieves information about the module's debugging file. Returns
124 // Retrieves information about the module's PE file. Returns
128 // Sets uses_guid to true if the opened file uses a new-style CodeView
129 // record with a 128-bit GUID, or false if the opened file uses an old-style
150 // Outputs all of the source files in the session's pdb file.
173 // Outputs a line identifying the PDB file that is being dumped, along with
177 // Outputs a line identifying the PE file corresponding to the PDB
178 // file that is being dumped, along with its code identifier,
179 // which consists of its timestamp and file size.
184 bool FileIDIsCached(const wstring &file) {
185 return unique_files_.find(file) != unique_files_.end();
189 void CacheFileID(const wstring &file, DWORD id) {
190 unique_files_[file] = id;
194 void StoreDuplicateFileID(const wstring &file, DWORD id) {
195 unordered_map<wstring, DWORD>::iterator iter = unique_files_.find(file);
202 // Given a file's unique ID, return the ID that should be used to
213 // Find the PE file corresponding to the loaded PDB file, and
230 // The filename of the PE file corresponding to the currently-open
231 // pdb file.
234 // The session for the currently-open pdb file.
237 // The current output file for this WriteMap invocation.
244 // This maps unique filenames to file IDs.