summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/tests
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-03-28 09:11:20 +0000
committerAlexey Samsonov <samsonov@google.com>2013-03-28 09:11:20 +0000
commite586170e8666294e94e0867c4b8f155686a719a8 (patch)
tree1151205130f2671406b188f8a7f2de5cbddbaed0 /compiler-rt/lib/sanitizer_common/tests
parentac83282665651d6db6d5e3b9c6b084e1b19a445f (diff)
downloadbcm5719-llvm-e586170e8666294e94e0867c4b8f155686a719a8.tar.gz
bcm5719-llvm-e586170e8666294e94e0867c4b8f155686a719a8.zip
Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158.
llvm-svn: 178229
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/tests')
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc
index 8c456c6a7e2..cd3cac11bc8 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc
@@ -63,6 +63,7 @@ TEST(SanitizerCommon, StrFlags) {
TestStrFlag("", "--flag_name='abc zxc'", "abc zxc");
TestStrFlag("", "--flag_name='abc zxcc'", "abc zxcc");
TestStrFlag("", "--flag_name=\"abc qwe\" asd", "abc qwe");
+ TestStrFlag("", "other_flag_name=zzz", "");
}
static void TestTwoFlags(const char *env, bool expected_flag1,
OpenPOWER on IntegriCloud