aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineDebugInfo.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-09 13:28:47 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-09 13:28:47 +0000
commit54689c2beeac17793ba9cdbc1fc0d4e679390b7b (patch)
tree9f88cd6522fbb1875845ed5f33dbf71508b8e43f /lib/CodeGen/MachineDebugInfo.cpp
parented66e855ecc2ffca317a9dbca2a32b97ec9d3d7a (diff)
Move bit field endianness to backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDebugInfo.cpp')
-rw-r--r--lib/CodeGen/MachineDebugInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineDebugInfo.cpp b/lib/CodeGen/MachineDebugInfo.cpp
index e18a2430b6..fa755f1923 100644
--- a/lib/CodeGen/MachineDebugInfo.cpp
+++ b/lib/CodeGen/MachineDebugInfo.cpp
@@ -653,6 +653,7 @@ TypeDesc::TypeDesc(unsigned T)
, Name("")
, File(NULL)
, Size(0)
+, Align(0)
, Offset(0)
{}
@@ -666,6 +667,7 @@ void TypeDesc::ApplyToFields(DIVisitor *Visitor) {
Visitor->Apply((DebugInfoDesc *&)File);
Visitor->Apply(Line);
Visitor->Apply(Size);
+ Visitor->Apply(Align);
Visitor->Apply(Offset);
}
@@ -690,6 +692,7 @@ void TypeDesc::dump() {
<< "File(" << File << "), "
<< "Line(" << Line << "), "
<< "Size(" << Size << "), "
+ << "Align(" << Align << "), "
<< "Offset(" << Offset << ")\n";
}
#endif