Skip to content

Commit

Permalink
[NFC][sanitizer] Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Dec 21, 2023
1 parent 565e5e8 commit 5e92fa6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool __sanitizer_symbolize_code(const char *ModuleName, uint64_t ModuleOffset,
auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>(
OS, symbolize_error_handler(OS), Config);

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

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

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

0 comments on commit 5e92fa6

Please sign in to comment.