From: Lang Hames Date: Wed, 29 Jul 2015 18:07:48 +0000 (+0000) Subject: Fix typos in comments. NFC. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=aaa9ff3d103cbc0c68f9cf022074c078e5d5befa;hp=4e3c7c262b2fac3fb87c077ccc0bbb907ee025a3 Fix typos in comments. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243542 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/DIContext.h b/include/llvm/DebugInfo/DIContext.h index db9ba3b3642..bdfd6683f80 100644 --- a/include/llvm/DebugInfo/DIContext.h +++ b/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;