summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
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
commit7b40b5a24397bf996b28e9d99c014dd17a47802b (patch)
treeb9c24159f1837b738fd1c1a28e702b2a8d82613c /llvm/lib/CodeGen/AsmPrinter
parent60e40bb3012c66a6ad7634f0d85510ae2bf642d1 (diff)
downloadbcm5719-llvm-7b40b5a24397bf996b28e9d99c014dd17a47802b.tar.gz
bcm5719-llvm-7b40b5a24397bf996b28e9d99c014dd17a47802b.zip
Add helpful comment.
llvm-svn: 81406
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp1
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 515c0a1e7c8..166c2fee57a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/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/llvm/lib/CodeGen/AsmPrinter/DwarfException.h b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
index 70c74c8f1d2..f6f50255f2e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/llvm/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
OpenPOWER on IntegriCloud