mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Forgot this on last check in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -277,6 +277,7 @@ private:
|
|||||||
CompileUnitDesc *File; // Declared compile unit (may be NULL.)
|
CompileUnitDesc *File; // Declared compile unit (may be NULL.)
|
||||||
int Line; // Declared line# (may be zero.)
|
int Line; // Declared line# (may be zero.)
|
||||||
uint64_t Size; // Type bit size (may be zero.)
|
uint64_t Size; // Type bit size (may be zero.)
|
||||||
|
uint64_t Align; // Type bit alignment (may be zero.)
|
||||||
uint64_t Offset; // Type bit offset (may be zero.)
|
uint64_t Offset; // Type bit offset (may be zero.)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -288,12 +289,14 @@ public:
|
|||||||
CompileUnitDesc *getFile() const { return File; }
|
CompileUnitDesc *getFile() const { return File; }
|
||||||
int getLine() const { return Line; }
|
int getLine() const { return Line; }
|
||||||
uint64_t getSize() const { return Size; }
|
uint64_t getSize() const { return Size; }
|
||||||
|
uint64_t getAlign() const { return Align; }
|
||||||
uint64_t getOffset() const { return Offset; }
|
uint64_t getOffset() const { return Offset; }
|
||||||
void setContext(DebugInfoDesc *C) { Context = C; }
|
void setContext(DebugInfoDesc *C) { Context = C; }
|
||||||
void setName(const std::string &N) { Name = N; }
|
void setName(const std::string &N) { Name = N; }
|
||||||
void setFile(CompileUnitDesc *U) { File = U; }
|
void setFile(CompileUnitDesc *U) { File = U; }
|
||||||
void setLine(int L) { Line = L; }
|
void setLine(int L) { Line = L; }
|
||||||
void setSize(uint64_t S) { Size = S; }
|
void setSize(uint64_t S) { Size = S; }
|
||||||
|
void setAlign(uint64_t A) { Align = A; }
|
||||||
void setOffset(uint64_t O) { Offset = O; }
|
void setOffset(uint64_t O) { Offset = O; }
|
||||||
|
|
||||||
/// ApplyToFields - Target the visitor to the fields of the TypeDesc.
|
/// ApplyToFields - Target the visitor to the fields of the TypeDesc.
|
||||||
|
Reference in New Issue
Block a user