From bb3e29932d14cc012149a1ab452b88e6f6f5bb49 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 10 Sep 2009 00:04:48 +0000 Subject: [PATCH] Add helpful comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81406 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DwarfException.cpp | 1 + lib/CodeGen/AsmPrinter/DwarfException.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 515c0a1e7c8..166c2fee57a 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -51,6 +51,7 @@ DwarfException::~DwarfException() { delete ExceptionTimer; } +/// SizeOfEncodedValue - Return the size of the encoding in bytes. unsigned DwarfException::SizeOfEncodedValue(unsigned Encoding) { if (Encoding == dwarf::DW_EH_PE_omit) return 0; diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h index 70c74c8f1d2..f6f50255f2e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.h +++ b/lib/CodeGen/AsmPrinter/DwarfException.h @@ -75,6 +75,7 @@ class VISIBILITY_HIDDEN DwarfException : public Dwarf { /// ExceptionTimer - Timer for the Dwarf exception writer. Timer *ExceptionTimer; + /// SizeOfEncodedValue - Return the size of the encoding in bytes. unsigned SizeOfEncodedValue(unsigned Encoding); /// EmitCIE - Emit a Common Information Entry (CIE). This holds information