[compiler-rt] r348376 - [Sanitizer] expand nl_langinfo interception to FreeBSD
David Carlier via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 5 08:01:22 PST 2018
Author: devnexen
Date: Wed Dec 5 08:01:22 2018
New Revision: 348376
URL: http://llvm.org/viewvc/llvm-project?rev=348376&view=rev
Log:
[Sanitizer] expand nl_langinfo interception to FreeBSD
Reviewers: krytarowski
Reviewed By: krytarowski
Differential Revision: https://reviews.llvm.org/D55327
Added:
compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
- copied, changed from r348375, compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
Removed:
compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
Removed: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc?rev=348375&view=auto
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc (removed)
@@ -1,18 +0,0 @@
-// RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
-
-#include <langinfo.h>
-
-#include <stdio.h>
-
-int main(void) {
- printf("nl_langinfo\n");
-
- char *info = nl_langinfo(DAY_1);
-
- printf("DAY_1='%s'\n", info);
-
- // CHECK: nl_langinfo
- // CHECK: DAY_1='{{.*}}'
-
- return 0;
-}
Copied: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc (from r348375, compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc)
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc?p2=compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc&p1=compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc&r1=348375&r2=348376&rev=348376&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/nl_langinfo.cc Wed Dec 5 08:01:22 2018
@@ -1,4 +1,6 @@
// RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
+//
+// UNSUPPORTED: linux, darwin, solaris
#include <langinfo.h>
More information about the llvm-commits
mailing list