mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
MC: Add WinCOFFStreamer implementation and merge common code from MachO
into MCObjectStreamer. Origonal Windows COFF implementation by Nathan Jedffords. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,6 +16,9 @@ namespace llvm {
|
||||
class MCAssembler;
|
||||
class MCCodeEmitter;
|
||||
class MCSectionData;
|
||||
class MCExpr;
|
||||
class MCFragment;
|
||||
class MCDataFragment;
|
||||
class TargetAsmBackend;
|
||||
class raw_ostream;
|
||||
|
||||
@@ -39,6 +42,14 @@ protected:
|
||||
return CurSectionData;
|
||||
}
|
||||
|
||||
MCFragment *getCurrentFragment() const;
|
||||
|
||||
/// Get a data fragment to write into, creating a new one if the current
|
||||
/// fragment is not a data fragment.
|
||||
MCDataFragment *getOrCreateDataFragment() const;
|
||||
|
||||
const MCExpr *AddValueSymbols(const MCExpr *Value);
|
||||
|
||||
public:
|
||||
MCAssembler &getAssembler() { return *Assembler; }
|
||||
|
||||
|
Reference in New Issue
Block a user