[compiler-rt] r320226 - Fix test/msan/textdomain.cc on NetBSD

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 16:39:04 PST 2017


Author: kamil
Date: Fri Dec  8 16:39:04 2017
New Revision: 320226

URL: http://llvm.org/viewvc/llvm-project?rev=320226&view=rev
Log:
Fix test/msan/textdomain.cc on NetBSD

Summary:
This tests must be linked with -lintl for the gettext(3) features.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, eugenis, vitalybuka

Reviewed By: vitalybuka

Subscribers: llvm-commits, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D41013

Modified:
    compiler-rt/trunk/test/msan/textdomain.cc

Modified: compiler-rt/trunk/test/msan/textdomain.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/textdomain.cc?rev=320226&r1=320225&r2=320226&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/textdomain.cc (original)
+++ compiler-rt/trunk/test/msan/textdomain.cc Fri Dec  8 16:39:04 2017
@@ -1,4 +1,4 @@
-// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
+// RUN: %clangxx_msan -lintl -O0 -g %s -o %t && %run %t
 
 #include <libintl.h>
 #include <stdio.h>




More information about the llvm-commits mailing list