[PATCH] D60644: [compiler-rt][builtins][sanitizers] Guard test cases with macros with GLIBC* macros

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 18:49:42 PDT 2019


hubert.reinterpretcast added inline comments.


================
Comment at: compiler-rt/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc:77
+  // that maybe related to _GLIBCXX_USE_CXX11_ABI and the string assigned.
+#if _GLIBCXX_USE_CXX11_ABI
   test<group>(&getgrnam, any_group.c_str());
----------------
Both here and below, the test is skipped if `_GLIBCXX_USE_CXX11_ABI` is not defined at all (for example, if the C++ library is not libstdc++).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60644/new/

https://reviews.llvm.org/D60644





More information about the llvm-commits mailing list