[llvm-commits] [llvm] r95737 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Bill Wendling
isanbard at gmail.com
Tue Feb 9 16:45:28 PST 2010
Author: void
Date: Tue Feb 9 18:45:28 2010
New Revision: 95737
URL: http://llvm.org/viewvc/llvm-project?rev=95737&view=rev
Log:
Improve comments a bit more.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=95737&r1=95736&r2=95737&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Tue Feb 9 18:45:28 2010
@@ -762,7 +762,7 @@
// does, instead output it before the table.
unsigned SizeTypes = TypeInfos.size() * TypeFormatSize;
unsigned TyOffset = sizeof(int8_t) + // Call site format
- MCAsmInfo::getULEB128Size(SizeSites) + // Call-site table length
+ MCAsmInfo::getULEB128Size(SizeSites) + // Call site table length
SizeSites + SizeActions + SizeTypes;
unsigned TotalSize = sizeof(int8_t) + // LPStart format
sizeof(int8_t) + // TType format
@@ -836,7 +836,7 @@
// Emit the landing pad call site table.
EmitEncodingByte(dwarf::DW_EH_PE_udata4, "Call site");
- EmitULEB128(SizeSites, "Call site table size");
+ EmitULEB128(SizeSites, "Call site table length");
for (SmallVectorImpl<CallSiteEntry>::const_iterator
I = CallSites.begin(), E = CallSites.end(); I != E; ++I) {
@@ -886,12 +886,12 @@
}
// Emit the Action Table.
- EOL("Action Record Table:");
+ if (Actions.size() != 0) EOL("-- Action Record Table --");
unsigned Iter = 1;
for (SmallVectorImpl<ActionEntry>::const_iterator
I = Actions.begin(), E = Actions.end(); I != E; ++I) {
const ActionEntry &Action = *I;
- EOL(Twine("Action Record ") + Twine(Iter++));
+ EOL("Action Record:");
// Type Filter
//
More information about the llvm-commits
mailing list