aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-01-22 18:46:45 +0000
committerAdrian Prantl <aprantl@apple.com>2016-01-22 18:46:45 +0000
commitae108c47043a93b0cb3c775ebe79588324c305d6 (patch)
tree4446850aef9fc41c877486a1778c6e1a574aa4ba /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parente1c2ad8aa716a7af74d5a3cbaea1fe01d0a2d309 (diff)
downloadllvm-ae108c47043a93b0cb3c775ebe79588324c305d6.zip
llvm-ae108c47043a93b0cb3c775ebe79588324c305d6.tar.gz
llvm-ae108c47043a93b0cb3c775ebe79588324c305d6.tar.bz2
Fix a typo in r258507 and change the PCH dwoid constant to ~1UL.
rdar://problem/24290667 llvm-svn: 258519
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r--clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
index 2178ec2..f204892 100644
--- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
+++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
@@ -222,7 +222,7 @@ public:
// PCH files don't have a signature field in the control block,
// but LLVM detects DWO CUs by looking for a non-zero DWO id.
- uint64_t Signature = Buffer->Signature ? Buffer->Signature : ~1U;
+ uint64_t Signature = Buffer->Signature ? Buffer->Signature : ~1UL;
Builder->getModuleDebugInfo()->setDwoId(Signature);
// Finalize the Builder.