|
@@ -1742,7 +1742,7 @@ CGDebugInfo::getOrCreateModuleRef(ExternalASTSource::ASTSourceDescriptor Mod,
|
|
|
if (CreateSkeletonCU && IsRootModule) {
|
|
|
// PCH files don't have a signature field in the control block,
|
|
|
// but LLVM detects skeleton CUs by looking for a non-zero DWO id.
|
|
|
- uint64_t Signature = Mod.getSignature() ? Mod.getSignature() : ~1UL;
|
|
|
+ uint64_t Signature = Mod.getSignature() ? Mod.getSignature() : ~1ULL;
|
|
|
llvm::DIBuilder DIB(CGM.getModule());
|
|
|
DIB.createCompileUnit(TheCU->getSourceLanguage(), Mod.getModuleName(),
|
|
|
Mod.getPath(), TheCU->getProducer(), true,
|