class ObjectFilePCHContainerWriter

Declaration

class ObjectFilePCHContainerWriter : public PCHContainerWriter { /* full declaration omitted */ };

Description

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

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

Inherits from: PCHContainerWriter

Method Overview

  • private std::unique_ptr<ASTConsumer> CreatePCHContainerGenerator(clang::CompilerInstance & CI, const std::string & MainFileName, const std::string & OutputFileName, std::unique_ptr<llvm::raw_pwrite_stream> OS, std::shared_ptr<PCHBuffer> Buffer) const
  • private llvm::StringRef getFormat() const

Inherited from PCHContainerWriter:

Methods

std::unique_ptr<ASTConsumer>
CreatePCHContainerGenerator(
    clang::CompilerInstance& CI,
    const std::string& MainFileName,
    const std::string& OutputFileName,
    std::unique_ptr<llvm::raw_pwrite_stream> OS,
    std::shared_ptr<PCHBuffer> Buffer) const

Description

Return an ASTConsumer that can be chained with a PCHGenerator that produces a wrapper file format that also contains full debug info for the module.

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

Parameters

clang::CompilerInstance& CI
const std::string& MainFileName
const std::string& OutputFileName
std::unique_ptr<llvm::raw_pwrite_stream> OS
std::shared_ptr<PCHBuffer> Buffer

llvm::StringRef getFormat() const

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