[msan] Lit tests for MemorySanitizer.
Build system setup for MSan lit tests (build with freshly-built clang, run,
check output) - a nearly exact copy from ASan.
First 2 lit tests for MSan.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174876 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc
index 804c8ae..26f34d7 100644
--- a/lib/msan/msan_report.cc
+++ b/lib/msan/msan_report.cc
@@ -54,7 +54,7 @@
CHECK(sep);
*sep = '\0';
Printf("%s", d.Origin());
- Printf(" %sUninitialised value was created by an allocation of '%s%s%s'"
+ Printf(" %sUninitialized value was created by an allocation of '%s%s%s'"
" in the stack frame of function '%s%s%s'%s\n",
d.Origin(), d.Name(), s, d.Origin(), d.Name(), sep + 1,
d.Origin(), d.End());
@@ -62,7 +62,7 @@
} else {
uptr size = 0;
const uptr *trace = StackDepotGet(origin, &size);
- Printf(" %sUninitialised value was created by a heap allocation%s\n",
+ Printf(" %sUninitialized value was created by a heap allocation%s\n",
d.Origin(), d.End());
StackTrace::PrintStack(trace, size, true, flags()->strip_path_prefix, 0);
}