diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-02-10 00:45:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-02-10 00:45:28 +0000 |
commit | b188e92ca97c5d6c68e5a7fca98c84da8d9d82f1 (patch) | |
tree | bfc22df2d41e1a3edab848ef30c67dc824f54480 /llvm/lib/CodeGen | |
parent | 222c75bea2bc6e4bd0105008bdbb1c6fd4c94ea6 (diff) | |
download | bcm5719-llvm-b188e92ca97c5d6c68e5a7fca98c84da8d9d82f1.tar.gz bcm5719-llvm-b188e92ca97c5d6c68e5a7fca98c84da8d9d82f1.zip |
Improve comments a bit more.
llvm-svn: 95737
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index e0975551986..30c12a3ef30 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -762,7 +762,7 @@ void DwarfException::EmitExceptionTable() { // 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 @@ void DwarfException::EmitExceptionTable() { // 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 @@ void DwarfException::EmitExceptionTable() { } // 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 // |