Skip to content

Commit 1865048

Browse files
[clang][Serialization] Add the missing block info (#122976)
HEADER_SEARCH_ENTRY_USAGE and VFS_USAGE were missing from the block info block. Add the missing info so `llvm-bcanalyzer` can read them correctly.
1 parent ab6e63a commit 1865048

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Serialization/ASTWriter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,8 @@ void ASTWriter::WriteBlockInfoBlock() {
11541154
RECORD(DIAGNOSTIC_OPTIONS);
11551155
RECORD(HEADER_SEARCH_PATHS);
11561156
RECORD(DIAG_PRAGMA_MAPPINGS);
1157+
RECORD(HEADER_SEARCH_ENTRY_USAGE);
1158+
RECORD(VFS_USAGE);
11571159

11581160
#undef RECORD
11591161
#undef BLOCK

0 commit comments

Comments
 (0)