mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
MC/Mach-O: Set SOME_INSTRUCTIONS bit for sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -348,7 +348,11 @@ private:
|
||||
|
||||
/// Fixups - The list of fixups in this section.
|
||||
std::vector<Fixup> Fixups;
|
||||
|
||||
|
||||
/// HasInstructions - Whether this section has had instructions emitted into
|
||||
/// it.
|
||||
unsigned HasInstructions : 1;
|
||||
|
||||
/// @}
|
||||
|
||||
public:
|
||||
@@ -429,6 +433,9 @@ public:
|
||||
}
|
||||
void setFileSize(uint64_t Value) { FileSize = Value; }
|
||||
|
||||
bool hasInstructions() const { return HasInstructions; }
|
||||
void setHasInstructions(bool Value) { HasInstructions = Value; }
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user