LLVM API Documentation
#include "llvm/MC/MCAssembler.h"#include "llvm/ADT/Twine.h"#include "llvm/MC/MCSectionMachO.h"#include "llvm/Support/DataTypes.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachOWriterInfo.h"
Go to the source code of this file.
Functions | |
| static void | WriteFileData (raw_ostream &OS, const MCFragment &F, MachObjectWriter &MOW) |
| WriteFileData - Write the. | |
| static void | WriteFileData (raw_ostream &OS, const MCSectionData &SD, MachObjectWriter &MOW) |
| WriteFileData - Write the. | |
| static void WriteFileData | ( | raw_ostream & | OS, | |
| const MCSectionData & | SD, | |||
| MachObjectWriter & | MOW | |||
| ) | [static] |
WriteFileData - Write the.
Definition at line 365 of file MCAssembler.cpp.
References llvm::MCSectionData::begin(), llvm::MCSectionData::end(), llvm::MCSectionData::getFileSize(), llvm::raw_ostream::tell(), and WriteFileData().
| static void WriteFileData | ( | raw_ostream & | OS, | |
| const MCFragment & | F, | |||
| MachObjectWriter & | MOW | |||
| ) | [static] |
WriteFileData - Write the.
Definition at line 292 of file MCAssembler.cpp.
References llvm::MCFragment::FT_Align, llvm::MCFragment::FT_Data, llvm::MCFragment::FT_Fill, llvm::MCFragment::FT_Org, llvm::MCValue::getConstant(), llvm::MCFillFragment::getCount(), llvm::MCFragment::getFileOffset(), llvm::MCFragment::getFileSize(), llvm::MCFragment::getKind(), llvm::MCOrgFragment::getValue(), llvm::MCAlignFragment::getValue(), llvm::MCFillFragment::getValue(), llvm::MCAlignFragment::getValueSize(), llvm::MCFillFragment::getValueSize(), llvm::MCValue::isAbsolute(), llvm::llvm_report_error(), llvm_unreachable, and llvm::raw_ostream::tell().
Referenced by llvm::MCAssembler::Finish(), and WriteFileData().
const unsigned Header32Size = 28 [static] |
Definition at line 30 of file MCAssembler.cpp.
const unsigned Header64Size = 32 [static] |
Definition at line 31 of file MCAssembler.cpp.
Definition at line 44 of file MCAssembler.cpp.
Definition at line 43 of file MCAssembler.cpp.
const unsigned Section32Size = 68 [static] |
Definition at line 33 of file MCAssembler.cpp.
const unsigned SegmentLoadCommand32Size = 56 [static] |
Definition at line 32 of file MCAssembler.cpp.