diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-13 19:48:37 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-13 19:48:37 +0000 |
commit | ec216500f23f757d8007e6f071250c0a7ba38101 (patch) | |
tree | d20282112f3d9d32b158e954bff837def29ddaa6 /clang/lib/Serialization/ASTWriter.cpp | |
parent | 36913deebe6940294cbd6faec7fe8ad6775cd20e (diff) | |
download | bcm5719-llvm-ec216500f23f757d8007e6f071250c0a7ba38101.tar.gz bcm5719-llvm-ec216500f23f757d8007e6f071250c0a7ba38101.zip |
[modules] Improve llvm-bcanalyzer output on AST files a little. No functionality change.
llvm-svn: 229145
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 2526c638d30..57453508362 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -941,10 +941,11 @@ void ASTWriter::WriteBlockInfoBlock() { // Preprocessor Block. BLOCK(PREPROCESSOR_BLOCK); + RECORD(PP_MACRO_DIRECTIVE_HISTORY); RECORD(PP_MACRO_OBJECT_LIKE); RECORD(PP_MACRO_FUNCTION_LIKE); RECORD(PP_TOKEN); - + // Decls and Types block. BLOCK(DECLTYPES_BLOCK); RECORD(TYPE_EXT_QUAL); @@ -1469,7 +1470,7 @@ void ASTWriter::WriteInputFiles(SourceManager &SourceMgr, unsigned UserFilesNum = 0; // Write out all of the input files. - std::vector<uint32_t> InputFileOffsets; + std::vector<uint64_t> InputFileOffsets; for (std::deque<InputFileEntry>::iterator I = SortedFiles.begin(), E = SortedFiles.end(); I != E; ++I) { const InputFileEntry &Entry = *I; |