mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 02:33:44 +00:00
Emit information about target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b9bcbb533f
commit
61a909a6fd
@ -519,6 +519,9 @@ void AssemblyWriter::writeOperand(const Value *Operand, bool PrintType,
|
|||||||
|
|
||||||
|
|
||||||
void AssemblyWriter::printModule(const Module *M) {
|
void AssemblyWriter::printModule(const Module *M) {
|
||||||
|
Out << "target endian = " << (M->isLittleEndian() ? "little" : "big") << "\n";
|
||||||
|
Out << "target pointersize = " << (M->has32BitPointers() ? 32 : 64) << "\n";
|
||||||
|
|
||||||
// Loop over the symbol table, emitting all named constants...
|
// Loop over the symbol table, emitting all named constants...
|
||||||
printSymbolTable(M->getSymbolTable());
|
printSymbolTable(M->getSymbolTable());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user