From 585d5b9f2d3f0169f4d1224b75cafc0e46c3a31a Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 29 Jul 2015 18:07:48 +0000 Subject: [PATCH] Fix typos in comments. NFC. llvm-svn: 243542 --- llvm/include/llvm/DebugInfo/DIContext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/DIContext.h b/llvm/include/llvm/DebugInfo/DIContext.h index db9ba3b..bdfd668 100644 --- a/llvm/include/llvm/DebugInfo/DIContext.h +++ b/llvm/include/llvm/DebugInfo/DIContext.h @@ -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; -- 2.7.4