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 003cebd commit 8d3e102Copy full SHA for 8d3e102
llvm/lib/DWARFLinker/Parallel/OutputSections.h
@@ -220,7 +220,7 @@ struct SectionDescriptor : SectionDescriptorBase {
220
/// Returns section content.
221
StringRef getContents() override {
222
if (SectionOffsetInsideAsmPrinterOutputStart == 0)
223
- return StringRef(Contents.data(), Contents.size());
+ return Contents;
224
225
return Contents.slice(SectionOffsetInsideAsmPrinterOutputStart,
226
SectionOffsetInsideAsmPrinterOutputEnd);
0 commit comments