ΒΆExpected<Optional<llvm::StringRef>>
getRemarksSectionContents(
    const object::ObjectFile& Obj)

Description

Returns a buffer with the contents of the remarks section depending on the format of the file. If the section doesn't exist, this returns an empty optional.

Declared at: llvm/include/llvm/Remarks/RemarkLinker.h:95

Parameters

const object::ObjectFile& Obj