mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Integrated-As: Add support for setting the AllowTemporaryLabels flag via
integrated-as. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -106,6 +106,7 @@ protected: // Can only create subclasses.
|
||||
|
||||
unsigned MCRelaxAll : 1;
|
||||
unsigned MCNoExecStack : 1;
|
||||
unsigned MCSaveTempLabels : 1;
|
||||
unsigned MCUseLoc : 1;
|
||||
|
||||
public:
|
||||
@@ -172,6 +173,14 @@ public:
|
||||
/// relaxed.
|
||||
void setMCRelaxAll(bool Value) { MCRelaxAll = Value; }
|
||||
|
||||
/// hasMCSaveTempLabels - Check whether temporary labels will be preserved
|
||||
/// (i.e., not treated as temporary).
|
||||
bool hasMCSaveTempLabels() const { return MCSaveTempLabels; }
|
||||
|
||||
/// setMCSaveTempLabels - Set whether temporary labels will be preserved
|
||||
/// (i.e., not treated as temporary).
|
||||
void setMCSaveTempLabels(bool Value) { MCSaveTempLabels = Value; }
|
||||
|
||||
/// hasMCNoExecStack - Check whether an executable stack is not needed.
|
||||
bool hasMCNoExecStack() const { return MCNoExecStack; }
|
||||
|
||||
|
Reference in New Issue
Block a user