|
LLVM
10.0.0
|
#include "YAMLRemarkParser.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/Remarks/RemarkParser.h"#include "llvm/Support/Endian.h"#include "llvm/Support/Path.h"Go to the source code of this file.
Functions | |
| static void | handleDiagnostic (const SMDiagnostic &Diag, void *Ctx) |
| static SourceMgr | setupSM (std::string &LastErrorMessage) |
| static Expected< bool > | parseMagic (StringRef &Buf) |
| static Expected< uint64_t > | parseVersion (StringRef &Buf) |
| static Expected< uint64_t > | parseStrTabSize (StringRef &Buf) |
| static Expected< ParsedStringTable > | parseStrTab (StringRef &Buf, uint64_t StrTabSize) |
|
static |
Definition at line 25 of file YAMLRemarkParser.cpp.
References assert(), and llvm::SMDiagnostic::print().
Referenced by setupSM().
Definition at line 61 of file YAMLRemarkParser.cpp.
References llvm::StringRef::consume_front(), llvm::createStringError(), llvm::remarks::Magic(), and llvm::StringRef::size().
Referenced by llvm::remarks::createYAMLParserFromMeta().
|
static |
Definition at line 99 of file YAMLRemarkParser.cpp.
References llvm::createStringError(), llvm::StringRef::data(), llvm::StringRef::drop_front(), and llvm::StringRef::size().
Referenced by llvm::remarks::createYAMLParserFromMeta().
Definition at line 88 of file YAMLRemarkParser.cpp.
References llvm::createStringError(), llvm::StringRef::data(), llvm::StringRef::drop_front(), and llvm::StringRef::size().
Referenced by llvm::remarks::createYAMLParserFromMeta().
Definition at line 71 of file YAMLRemarkParser.cpp.
References llvm::createStringError(), llvm::remarks::CurrentRemarkVersion, llvm::StringRef::data(), llvm::StringRef::drop_front(), llvm::StringRef::size(), and llvm::IndexedInstrProf::Version.
Referenced by llvm::remarks::createYAMLParserFromMeta().
|
static |
Definition at line 53 of file YAMLRemarkParser.cpp.
References handleDiagnostic(), and llvm::SourceMgr::setDiagHandler().
Referenced by llvm::remarks::YAMLRemarkParser::YAMLRemarkParser().
1.8.13