diff options
author | Daniel Grumberg <dany.grumberg@gmail.com> | 2020-06-07 20:05:25 +0100 |
---|---|---|
committer | Daniel Grumberg <dany.grumberg@gmail.com> | 2020-06-11 09:12:29 +0100 |
commit | e87e55edbc798c1c73963151f114df775b1ec460 (patch) | |
tree | 7b2e14157d3613323c262d9c6ab1a185bec159b2 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | dc0f09804886bdf26870162423c7432d6e6a4114 (diff) | |
download | llvm-e87e55edbc798c1c73963151f114df775b1ec460.zip llvm-e87e55edbc798c1c73963151f114df775b1ec460.tar.gz llvm-e87e55edbc798c1c73963151f114df775b1ec460.tar.bz2 |
Make ASTFileSignature an array of 20 uint8_t instead of 5 uint32_t
Reviewers: aprantl, dexonsmith, Bigcheese
Subscribers: arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81347
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r-- | clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp index 284e802..0c7e5f4 100644 --- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp +++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp @@ -173,8 +173,8 @@ public: // Prepare CGDebugInfo to emit debug info for a clang module. auto *DI = Builder->getModuleDebugInfo(); StringRef ModuleName = llvm::sys::path::filename(MainFileName); - DI->setPCHDescriptor({ModuleName, "", OutputFileName, - ASTFileSignature{{{~0U, ~0U, ~0U, ~0U, ~1U}}}}); + DI->setPCHDescriptor( + {ModuleName, "", OutputFileName, ASTFileSignature::createDISentinel()}); DI->setModuleMap(MMap); } |