class ObjectFilePCHContainerReader

Declaration

class ObjectFilePCHContainerReader : public PCHContainerReader { /* full declaration omitted */ };

Description

A PCHContainerReader implementation that uses LLVM to wraps Clang modules inside a COFF, ELF, or Mach-O container.

Declared at: clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:34

Inherits from: PCHContainerReader

Method Overview

  • private llvm::StringRef ExtractPCH(llvm::MemoryBufferRef Buffer) const
  • private llvm::StringRef getFormat() const

Inherited from PCHContainerReader:

Methods

llvm::StringRef ExtractPCH(
    llvm::MemoryBufferRef Buffer) const

Description

Returns the serialized AST inside the PCH container Buffer.

Declared at: clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:38

Parameters

llvm::MemoryBufferRef Buffer

llvm::StringRef getFormat() const

Description

Equivalent to the format passed to -fmodule-format=

Declared at: clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:35