[PATCH] D55327: [Sanitizer] expand nl_langinfo interception to FreeBSD
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 5 08:04:20 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT348376: [Sanitizer] expand nl_langinfo interception to FreeBSD (authored by devnexen, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D55327?vs=176825&id=176832#toc
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55327/new/
https://reviews.llvm.org/D55327
Files:
test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
Index: test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
===================================================================
--- test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
+++ test/sanitizer_common/TestCases/Posix/nl_langinfo.cc
@@ -0,0 +1,20 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
+//
+// UNSUPPORTED: linux, darwin, solaris
+
+#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;
+}
Index: test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
===================================================================
--- test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
+++ test/sanitizer_common/TestCases/NetBSD/nl_langinfo.cc
@@ -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;
-}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55327.176832.patch
Type: text/x-patch
Size: 1177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181205/4842dae7/attachment.bin>
More information about the llvm-commits
mailing list