Skip to content

Commit 5e349af

Browse files
committed
Fix TargetLibraryInfoTest.ValidProto after rL357552
llvm-svn: 357559
1 parent f426ddb commit 5e349af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,11 @@ TEST_F(TargetLibraryInfoTest, ValidProto) {
494494
"declare i32 @iprintf(i8*, ...)\n"
495495
"declare i32 @siprintf(i8*, i8*, ...)\n"
496496

497+
// __small_printf variants have the same prototype as the non-'i' versions.
498+
"declare i32 @__small_fprintf(%struct*, i8*, ...)\n"
499+
"declare i32 @__small_printf(i8*, ...)\n"
500+
"declare i32 @__small_sprintf(i8*, i8*, ...)\n"
501+
497502
"declare i32 @htonl(i32)\n"
498503
"declare i16 @htons(i16)\n"
499504
"declare i32 @ntohl(i32)\n"

0 commit comments

Comments
 (0)