forked from OSchip/llvm-project
Serialized diagnostics: encode a 24 bit version number as part of the "magic number" of serialized diagnostics.
llvm-svn: 143760
This commit is contained in:
parent
2724b1ffc1
commit
868504ab99
|
@ -200,10 +200,8 @@ void SDiagsWriter::EmitPreamble() {
|
||||||
|
|
||||||
// Emit the file header.
|
// Emit the file header.
|
||||||
Stream.Emit((unsigned)'D', 8);
|
Stream.Emit((unsigned)'D', 8);
|
||||||
Stream.Emit((unsigned)'I', 8);
|
Stream.Emit((unsigned) Version, 32 - 8);
|
||||||
Stream.Emit((unsigned)'A', 8);
|
|
||||||
Stream.Emit((unsigned)'G', 8);
|
|
||||||
|
|
||||||
EmitBlockInfoBlock();
|
EmitBlockInfoBlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue