Skip to content

Commit e5906f6

Browse files
committed
[DWARFLinker] Fix typo and improve comments (NFC)
Fix a typo and improve comments to match the LLVM coding style.
1 parent 26e9f23 commit e5906f6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

llvm/include/llvm/DWARFLinker/DWARFLinker.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,22 +205,25 @@ class DwarfEmitter {
205205

206206
using UnitListTy = std::vector<std::unique_ptr<CompileUnit>>;
207207

208-
/// this class represents DWARF information for source file
209-
/// and it`s address map.
208+
/// This class represents DWARF information for source file
209+
/// and its address map.
210210
class DWARFFile {
211211
public:
212212
DWARFFile(StringRef Name, DWARFContext *Dwarf, AddressesMap *Addresses,
213213
const std::vector<std::string> &Warnings)
214214
: FileName(Name), Dwarf(Dwarf), Addresses(Addresses), Warnings(Warnings) {
215215
}
216216

217-
/// object file name.
217+
/// The object file name.
218218
StringRef FileName;
219-
/// source DWARF information.
219+
220+
/// The source DWARF information.
220221
DWARFContext *Dwarf = nullptr;
221-
/// helpful address information(list of valid address ranges, relocations).
222+
223+
/// Helpful address information(list of valid address ranges, relocations).
222224
AddressesMap *Addresses = nullptr;
223-
/// warnings for object file.
225+
226+
/// Warnings for this object file.
224227
const std::vector<std::string> &Warnings;
225228
};
226229

0 commit comments

Comments
 (0)