Skip to content

Commit 5e92fa6

Browse files
committed
[NFC][sanitizer] Fix typo in comment
1 parent 565e5e8 commit 5e92fa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ bool __sanitizer_symbolize_code(const char *ModuleName, uint64_t ModuleOffset,
7171
auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(
7272
OS, symbolize_error_handler(OS), Config);
7373

74-
// TODO: it is neccessary to set proper SectionIndex here.
74+
// TODO: it is necessary to set proper SectionIndex here.
7575
// object::SectionedAddress::UndefSection works for only absolute addresses.
7676
if (InlineFrames) {
7777
auto ResOrErr = getDefaultSymbolizer()->symbolizeInlinedCode(
@@ -103,7 +103,7 @@ bool __sanitizer_symbolize_data(const char *ModuleName, uint64_t ModuleOffset,
103103
auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(
104104
OS, symbolize_error_handler(OS), Config);
105105

106-
// TODO: it is neccessary to set proper SectionIndex here.
106+
// TODO: it is necessary to set proper SectionIndex here.
107107
// object::SectionedAddress::UndefSection works for only absolute addresses.
108108
auto ResOrErr = getDefaultSymbolizer()->symbolizeData(
109109
ModuleName,
@@ -126,7 +126,7 @@ bool __sanitizer_symbolize_frame(const char *ModuleName, uint64_t ModuleOffset,
126126
auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(
127127
OS, symbolize_error_handler(OS), Config);
128128

129-
// TODO: it is neccessary to set proper SectionIndex here.
129+
// TODO: it is necessary to set proper SectionIndex here.
130130
// object::SectionedAddress::UndefSection works for only absolute addresses.
131131
auto ResOrErr = getDefaultSymbolizer()->symbolizeFrame(
132132
ModuleName,

0 commit comments

Comments
 (0)