We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aec1c8c + 17e7ea1 commit ba3aa14Copy full SHA for ba3aa14
lib/IRGen/IRGenDebugInfo.cpp
@@ -736,9 +736,7 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
736
// but LLVM detects skeleton CUs by looking for a non-zero DWO id.
737
// We use the lower 64 bits for debug info.
738
uint64_t Signature =
739
- Desc.getSignature()
740
- ? (uint64_t)Desc.getSignature()[1] << 32 | Desc.getSignature()[0]
741
- : ~1ULL;
+ Desc.getSignature() ? Desc.getSignature().truncatedValue() : ~1ULL;
742
743
// Handle Clang modules.
744
if (ClangModule) {
0 commit comments