Fix typos in comments. NFC.
authorLang Hames <lhames@gmail.com>
Wed, 29 Jul 2015 18:07:48 +0000 (18:07 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 29 Jul 2015 18:07:48 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243542 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/DIContext.h

index db9ba3b36424a26206cbc370ac0635b31f42adc5..bdfd6683f80685af349396e0136d1fec54f58724 100644 (file)
@@ -143,11 +143,11 @@ class LoadedObjectInfo {
 public:
   virtual ~LoadedObjectInfo() = default;
 
 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
   ///
   /// 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;
   /// 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;