From: Sam Clegg Date: Wed, 3 Apr 2019 02:30:35 +0000 (+0000) Subject: Fix TargetLibraryInfoTest.ValidProto after rL357552 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cc7426c1495f12951f49fc834eef95c90bffcde;p=llvm Fix TargetLibraryInfoTest.ValidProto after rL357552 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357559 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Analysis/TargetLibraryInfoTest.cpp b/unittests/Analysis/TargetLibraryInfoTest.cpp index f3b72b624fc..43776f607a1 100644 --- a/unittests/Analysis/TargetLibraryInfoTest.cpp +++ b/unittests/Analysis/TargetLibraryInfoTest.cpp @@ -494,6 +494,11 @@ TEST_F(TargetLibraryInfoTest, ValidProto) { "declare i32 @iprintf(i8*, ...)\n" "declare i32 @siprintf(i8*, i8*, ...)\n" + // __small_printf variants have the same prototype as the non-'i' versions. + "declare i32 @__small_fprintf(%struct*, i8*, ...)\n" + "declare i32 @__small_printf(i8*, ...)\n" + "declare i32 @__small_sprintf(i8*, i8*, ...)\n" + "declare i32 @htonl(i32)\n" "declare i16 @htons(i16)\n" "declare i32 @ntohl(i32)\n"