From ae108c47043a93b0cb3c775ebe79588324c305d6 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 22 Jan 2016 18:46:45 +0000 Subject: Fix a typo in r258507 and change the PCH dwoid constant to ~1UL. rdar://problem/24290667 llvm-svn: 258519 --- clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp') diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp index 2178ec21c7a..f20489275b2 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. -- cgit v1.2.3