LLVM  8.0.1
Classes | Namespaces | Macros | Functions | Variables
WindowsResource.cpp File Reference
#include "llvm/Object/WindowsResource.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/FileOutputBuffer.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/MathExtras.h"
#include <ctime>
#include <queue>
#include <system_error>
Include dependency graph for WindowsResource.cpp:

Go to the source code of this file.

Classes

class  llvm::object::WindowsResourceCOFFWriter
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::object
 

Macros

#define RETURN_IF_ERROR(X)
 

Functions

static Error llvm::object::readStringOrId (BinaryStreamReader &Reader, uint16_t &ID, ArrayRef< UTF16 > &Str, bool &IsString)
 
static std::time_t llvm::object::getTime ()
 
Expected< std::unique_ptr< MemoryBuffer > > llvm::object::writeWindowsResourceCOFF (llvm::COFF::MachineTypes MachineType, const WindowsResourceParser &Parser)
 

Variables

const uint32_t llvm::object::MIN_HEADER_SIZE = 7 * sizeof(uint32_t) + 2 * sizeof(uint16_t)
 
const uint32_t llvm::object::SECTION_ALIGNMENT = sizeof(uint64_t)
 

Macro Definition Documentation

◆ RETURN_IF_ERROR

#define RETURN_IF_ERROR (   X)
Value:
if (auto EC = X) \
return EC;
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")

Definition at line 29 of file WindowsResource.cpp.

Referenced by llvm::object::readStringOrId().