File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
llvm/lib/DebugInfo/CodeView Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ void ContinuationRecordBuilder::writeMemberType(RecordType &Record) {
108
108
// the previous member. Save off the length of the member we just wrote so
109
109
// that we can do some sanity checking on it.
110
110
uint32_t MemberLength = SegmentWriter.getOffset () - OriginalOffset;
111
+ (void ) MemberLength;
111
112
insertSegmentEnd (OriginalOffset);
112
113
// Since this member now becomes a new top-level record, it should have
113
114
// gotten a RecordPrefix injected, and that RecordPrefix + the member we
@@ -126,6 +127,7 @@ uint32_t ContinuationRecordBuilder::getCurrentSegmentLength() const {
126
127
127
128
void ContinuationRecordBuilder::insertSegmentEnd (uint32_t Offset) {
128
129
uint32_t SegmentBegin = SegmentOffsets.back ();
130
+ (void )SegmentBegin;
129
131
assert (Offset > SegmentBegin);
130
132
assert (Offset - SegmentBegin <= MaxSegmentLength);
131
133
@@ -136,6 +138,7 @@ void ContinuationRecordBuilder::insertSegmentEnd(uint32_t Offset) {
136
138
137
139
uint32_t NewSegmentBegin = Offset + ContinuationLength;
138
140
uint32_t SegmentLength = NewSegmentBegin - SegmentOffsets.back ();
141
+ (void ) SegmentLength;
139
142
140
143
assert (SegmentLength % 4 == 0 );
141
144
assert (SegmentLength <= MaxRecordLength);
You can’t perform that action at this time.
0 commit comments