mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
print stack object alignment in -print-machineinstr dumps
llvm-svn: 21992
This commit is contained in:
parent
1634435c77
commit
d9dd5bb798
@ -266,11 +266,13 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{
|
||||
|
||||
for (unsigned i = 0, e = Objects.size(); i != e; ++i) {
|
||||
const StackObject &SO = Objects[i];
|
||||
OS << " <fi #" << (int)(i-NumFixedObjects) << "> is ";
|
||||
OS << " <fi #" << (int)(i-NumFixedObjects) << ">: ";
|
||||
if (SO.Size == 0)
|
||||
OS << "variable sized";
|
||||
else
|
||||
OS << SO.Size << " byte" << (SO.Size != 1 ? "s" : " ");
|
||||
OS << "size is " << SO.Size << " byte" << (SO.Size != 1 ? "s," : ",");
|
||||
OS << " alignment is " << SO.Alignment << " byte"
|
||||
<< (SO.Alignment != 1 ? "s," : ",");
|
||||
|
||||
if (i < NumFixedObjects)
|
||||
OS << " fixed";
|
||||
|
Loading…
Reference in New Issue
Block a user