[compiler-rt] 5e92fa6 - [NFC][sanitizer] Fix typo in comment
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 18:40:35 PST 2023
Author: Vitaly Buka
Date: 2023-12-20T18:40:26-08:00
New Revision: 5e92fa69eaf0a3d18ff9a8ba0fb27726b38ba035
URL: https://github.com/llvm/llvm-project/commit/5e92fa69eaf0a3d18ff9a8ba0fb27726b38ba035
DIFF: https://github.com/llvm/llvm-project/commit/5e92fa69eaf0a3d18ff9a8ba0fb27726b38ba035.diff
LOG: [NFC][sanitizer] Fix typo in comment
Added:
Modified:
compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
index 4bdf75332bf33a..c851dbbf2eb233 100644
--- a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
@@ -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(
@@ -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,
@@ -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,
More information about the llvm-commits
mailing list