llvm.org GIT mirror llvm / a41fd4f
Fix build faliure introduced by r217129. Looks like one can't put 'const uint8_t' as ArrayRef contained type. It fails to build with libstdc++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217132 91177308-0d34-0410-b5e6-96231b3b80d8 Frederic Riss 6 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
6969 Optional getAsCString(const DWARFUnit *U) const;
7070 Optional getAsAddress(const DWARFUnit *U) const;
7171 Optional getAsSectionOffset() const;
72 Optionalconst uint8_t>> getAsBlock() const;
72 Optionaluint8_t>> getAsBlock() const;
7373
7474 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
7575 const DWARFUnit *u) const;
548548 return Value.uval;
549549 }
550550
551 Optionalconst uint8_t>> DWARFFormValue::getAsBlock() const {
551 Optionaluint8_t>> DWARFFormValue::getAsBlock() const {
552552 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc))
553553 return None;
554 return ArrayRef(Value.data, Value.uval);
555 }
556
554 return ArrayRef(Value.data, Value.uval);
555 }
556