aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-09-10 00:04:48 +0000
committerBill Wendling <isanbard@gmail.com>2009-09-10 00:04:48 +0000
commitbb3e29932d14cc012149a1ab452b88e6f6f5bb49 (patch)
tree8728f0f3bd9af1f04832ed5f3e097cfaff07b08e
parent52783c63a13d384582997684384553e6545852d3 (diff)
downloadexternal_llvm-bb3e29932d14cc012149a1ab452b88e6f6f5bb49.zip
external_llvm-bb3e29932d14cc012149a1ab452b88e6f6f5bb49.tar.gz
external_llvm-bb3e29932d14cc012149a1ab452b88e6f6f5bb49.tar.bz2
Add helpful comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81406 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp1
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 515c0a1..166c2fe 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 70c74c8..f6f5025 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