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.
1 parent a4558a4 commit db08060Copy full SHA for db08060
llvm/lib/Object/GOFFObjectFile.cpp
@@ -511,7 +511,7 @@ uint64_t GOFFObjectFile::getSectionAlignment(DataRefImpl Sec) const {
511
const uint8_t *EsdRecord = getSectionEdEsdRecord(Sec);
512
GOFF::ESDAlignment Pow2Alignment;
513
ESDRecord::getAlignment(EsdRecord, Pow2Alignment);
514
- return 1 << static_cast<uint64_t>(Pow2Alignment);
+ return 1ULL << static_cast<uint64_t>(Pow2Alignment);
515
}
516
517
bool GOFFObjectFile::isSectionText(DataRefImpl Sec) const {
0 commit comments