LLVM 20.0.0git
Namespaces | Functions
COFFObjcopy.cpp File Reference
#include "llvm/ObjCopy/COFF/COFFObjcopy.h"
#include "COFFObject.h"
#include "COFFReader.h"
#include "COFFWriter.h"
#include "llvm/ObjCopy/COFF/COFFConfig.h"
#include "llvm/ObjCopy/CommonConfig.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/CRC.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Path.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::objcopy
 
namespace  llvm::objcopy::coff
 

Functions

static bool llvm::objcopy::coff::isDebugSection (const Section &Sec)
 
static uint64_t llvm::objcopy::coff::getNextRVA (const Object &Obj)
 
static Expected< std::vector< uint8_t > > llvm::objcopy::coff::createGnuDebugLinkSectionContents (StringRef File)
 
static void llvm::objcopy::coff::addSection (Object &Obj, StringRef Name, ArrayRef< uint8_t > Contents, uint32_t Characteristics)
 
static Error llvm::objcopy::coff::addGnuDebugLink (Object &Obj, StringRef DebugLinkFile)
 
static uint32_t llvm::objcopy::coff::flagsToCharacteristics (SectionFlag AllFlags, uint32_t OldChar)
 
static Error llvm::objcopy::coff::dumpSection (Object &O, StringRef SectionName, StringRef FileName)
 
static Error llvm::objcopy::coff::handleArgs (const CommonConfig &Config, const COFFConfig &COFFConfig, Object &Obj)
 
Error llvm::objcopy::coff::executeObjcopyOnBinary (const CommonConfig &Config, const COFFConfig &, object::COFFObjectFile &In, raw_ostream &Out)
 Apply the transformations described by Config and COFFConfig to In and writes the result into Out.