summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2013-04-16 14:58:45 +0000
committerSergey Matveev <earthdok@google.com>2013-04-16 14:58:45 +0000
commit3f5528b4112a6e63d4535c1804bee4ba310879e7 (patch)
tree150da04d530785a3eaa8e8e555a8110b256d6689
parentb921bf231318e2deed7b06c1fd8d4027a65a844c (diff)
downloadcompiler-rt-3f5528b4112a6e63d4535c1804bee4ba310879e7.tar.gz
[asan] Fix spelling in asan_rtl.cc Test commit.
Reviewers: kcc, glider, samsonov Reviewed By: glider CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D676 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179595 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/asan_rtl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_rtl.cc b/lib/asan/asan_rtl.cc
index c367a7027..1b6a6cdae 100644
--- a/lib/asan/asan_rtl.cc
+++ b/lib/asan/asan_rtl.cc
@@ -64,7 +64,7 @@ static void AsanCheckFailed(const char *file, int line, const char *cond,
}
// -------------------------- Flags ------------------------- {{{1
-static const int kDeafultMallocContextSize = 30;
+static const int kDefaultMallocContextSize = 30;
Flags asan_flags_dont_use_directly; // use via flags().
@@ -139,7 +139,7 @@ void InitializeFlags(Flags *f, const char *env) {
f->debug = false;
f->report_globals = 1;
f->check_initialization_order = false;
- f->malloc_context_size = kDeafultMallocContextSize;
+ f->malloc_context_size = kDefaultMallocContextSize;
f->replace_str = true;
f->replace_intrin = true;
f->mac_ignore_invalid_free = false;