Remove a few fixmes, the only work we're doing is getting the string

to return and this is done all over.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2013-06-10 22:24:10 +00:00
parent 0fbaa37873
commit f0aefa858c

View File

@ -55,11 +55,9 @@ void DIEAbbrev::Profile(FoldingSetNodeID &ID) const {
/// ///
void DIEAbbrev::Emit(AsmPrinter *AP) const { void DIEAbbrev::Emit(AsmPrinter *AP) const {
// Emit its Dwarf tag type. // Emit its Dwarf tag type.
// FIXME: Doing work even in non-asm-verbose runs.
AP->EmitULEB128(Tag, dwarf::TagString(Tag)); AP->EmitULEB128(Tag, dwarf::TagString(Tag));
// Emit whether it has children DIEs. // Emit whether it has children DIEs.
// FIXME: Doing work even in non-asm-verbose runs.
AP->EmitULEB128(ChildrenFlag, dwarf::ChildrenString(ChildrenFlag)); AP->EmitULEB128(ChildrenFlag, dwarf::ChildrenString(ChildrenFlag));
// For each attribute description. // For each attribute description.
@ -67,12 +65,10 @@ void DIEAbbrev::Emit(AsmPrinter *AP) const {
const DIEAbbrevData &AttrData = Data[i]; const DIEAbbrevData &AttrData = Data[i];
// Emit attribute type. // Emit attribute type.
// FIXME: Doing work even in non-asm-verbose runs.
AP->EmitULEB128(AttrData.getAttribute(), AP->EmitULEB128(AttrData.getAttribute(),
dwarf::AttributeString(AttrData.getAttribute())); dwarf::AttributeString(AttrData.getAttribute()));
// Emit form type. // Emit form type.
// FIXME: Doing work even in non-asm-verbose runs.
AP->EmitULEB128(AttrData.getForm(), AP->EmitULEB128(AttrData.getForm(),
dwarf::FormEncodingString(AttrData.getForm())); dwarf::FormEncodingString(AttrData.getForm()));
} }