mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Add a method to generate a string representation from a TargetData.
This continues the work on PR 761. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,6 +94,11 @@ public:
|
||||
unsigned char getPointerSize() const { return PointerSize; }
|
||||
unsigned char getPointerSizeInBits() const { return 8*PointerSize; }
|
||||
|
||||
/// getStringRepresentation - Return the string representation of the
|
||||
/// TargetData. This representation is in the same format accepted by the
|
||||
/// string constructor above.
|
||||
std::string getStringRepresentation() const;
|
||||
|
||||
/// getTypeSize - Return the number of bytes necessary to hold the specified
|
||||
/// type.
|
||||
///
|
||||
|
Reference in New Issue
Block a user