[llvm] r302249 - [llvm-dwarfdump] - Add comment for maybeDecompress(). NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 09:13:10 PDT 2017


Author: grimar
Date: Fri May  5 11:13:10 2017
New Revision: 302249

URL: http://llvm.org/viewvc/llvm-project?rev=302249&view=rev
Log:
[llvm-dwarfdump] - Add comment for maybeDecompress(). NFC.

Addresses post commit review comment.

Modified:
    llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h

Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h?rev=302249&r1=302248&r2=302249&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h Fri May  5 11:13:10 2017
@@ -310,6 +310,8 @@ class DWARFContextInMemory : public DWAR
 
   StringRef *MapSectionToMember(StringRef Name);
 
+  /// If Sec is compressed section, decompresses and updates its contents
+  /// provided by Data. Otherwise leaves it unchanged.
   Error maybeDecompress(const object::SectionRef &Sec, StringRef Name,
                         StringRef &Data);
 




More information about the llvm-commits mailing list