[llvm] r243542 - Fix typos in comments. NFC.

Lang Hames lhames at gmail.com
Wed Jul 29 11:07:48 PDT 2015


Author: lhames
Date: Wed Jul 29 13:07:48 2015
New Revision: 243542

URL: http://llvm.org/viewvc/llvm-project?rev=243542&view=rev
Log:
Fix typos in comments. NFC.

Modified:
    llvm/trunk/include/llvm/DebugInfo/DIContext.h

Modified: llvm/trunk/include/llvm/DebugInfo/DIContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DIContext.h?rev=243542&r1=243541&r2=243542&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DIContext.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DIContext.h Wed Jul 29 13:07:48 2015
@@ -143,11 +143,11 @@ class LoadedObjectInfo {
 public:
   virtual ~LoadedObjectInfo() = default;
 
-  /// Obtain the Load Address of a section by Name.
+  /// Obtain the Load Address of a section by SectionRef.
   ///
   /// Calculate the address of the given section.
   /// The section need not be present in the local address space. The addresses
-  /// needs to be consistent with the addresses used to query the DIContext and
+  /// need to be consistent with the addresses used to query the DIContext and
   /// the output of this function should be deterministic, i.e. repeated calls with
   /// the same Sec should give the same address.
   virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const = 0;





More information about the llvm-commits mailing list