This method returns _flags field which has `uint64_t` type. Now the
field's type and the method's return type are consistent.
llvm-svn: 235393
uint64_t fileSize() const { return _size; }
int64_t entsize() const { return _entSize; }
uint64_t fileOffset() const { return _fileOffset; }
- int64_t flags() const { return _flags; }
+ uint64_t flags() const { return _flags; }
uint64_t memSize() { return _memSize; }
private:
section->setSegmentType(segmentType);
StringRef segmentName = section->segmentKindToStr();
- int64_t lookupSectionFlag = osi->flags();
+ uint64_t lookupSectionFlag = osi->flags();
if ((!(lookupSectionFlag & llvm::ELF::SHF_WRITE)) &&
(_ctx.mergeRODataToTextSegment()))
lookupSectionFlag &= ~llvm::ELF::SHF_EXECINSTR;