]> granicus.if.org Git - llvm/commitdiff
[llvm-dwarfdump] - Add comment for maybeDecompress(). NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 5 May 2017 16:13:10 +0000 (16:13 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 5 May 2017 16:13:10 +0000 (16:13 +0000)
Addresses post commit review comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302249 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/DWARF/DWARFContext.h

index d42c477e7de55c86f3b4872ca0cd85d9f209eeb6..3fae8b4414394cf91b4a8f8a816fe9e6b343c838 100644 (file)
@@ -310,6 +310,8 @@ class DWARFContextInMemory : public DWARFContext {
 
   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);