Place dwarf headers at earliest possible point. Well behaved when skipping

functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-06-14 11:35:03 +00:00
parent f7a1212850
commit 014f98c7e5
5 changed files with 81 additions and 58 deletions

View File

@@ -262,10 +262,10 @@ public:
Elements.push_back(ConstantUInt::get(Type::UIntTy, Field));
}
virtual void Apply(int64_t &Field) {
Elements.push_back(ConstantSInt::get(Type::IntTy, Field));
Elements.push_back(ConstantSInt::get(Type::LongTy, Field));
}
virtual void Apply(uint64_t &Field) {
Elements.push_back(ConstantUInt::get(Type::UIntTy, Field));
Elements.push_back(ConstantUInt::get(Type::ULongTy, Field));
}
virtual void Apply(bool &Field) {
Elements.push_back(ConstantBool::get(Field));
@@ -345,10 +345,10 @@ public:
Fields.push_back(Type::UIntTy);
}
virtual void Apply(int64_t &Field) {
Fields.push_back(Type::IntTy);
Fields.push_back(Type::LongTy);
}
virtual void Apply(uint64_t &Field) {
Fields.push_back(Type::UIntTy);
Fields.push_back(Type::ULongTy);
}
virtual void Apply(bool &Field) {
Fields.push_back(Type::BoolTy);