[PATCH] D57318: [compiler-rt] Fix reporting unrecognized flags in unittests.
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 18:32:59 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL352447: [compiler-rt] Fix reporting unrecognized flags in unit tests. (authored by ikudrin, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D57318?vs=183813&id=184004#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57318/new/
https://reviews.llvm.org/D57318
Files:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_flags_test.cc
Index: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_flags_test.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_flags_test.cc
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_flags_test.cc
@@ -33,6 +33,9 @@
parser.ParseString(env);
EXPECT_EQ(final_value, flag);
+
+ // Reporting unrecognized flags is needed to reset them.
+ ReportUnrecognizedFlags();
}
template <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57318.184004.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190129/0c518c2f/attachment.bin>
More information about the llvm-commits
mailing list