MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / WriteSourceManagerBlock

Method WriteSourceManagerBlock

tools/clang/lib/Serialization/ASTWriter.cpp:1900–2103  ·  view source on GitHub ↗

\brief Writes the block containing the serialized form of the source manager. TODO: We should probably use an on-disk hash table (stored in a blob), indexed based on the file name, so that we only create entries for files that we actually need. In the common case (no errors), we probably won't have to create file entries for any of the files in the AST.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

CreateSLocFileAbbrevFunction · 0.85
CreateSLocBufferAbbrevFunction · 0.85
strcmpFunction · 0.85
BitCodeAbbrevOpClass · 0.85
make_pairClass · 0.85
EnterSubblockMethod · 0.80
local_sloc_entry_sizeMethod · 0.80
getContentCacheMethod · 0.80
hasLineDirectivesMethod · 0.80
EmitRecordWithAbbrevMethod · 0.80

Tested by

no test coverage detected