diff options
author | Sam Clegg <sbc@chromium.org> | 2019-04-03 02:30:35 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-04-03 02:30:35 +0000 |
commit | 5e349afccbf6964e3b5122fbe392f2e8c419accb (patch) | |
tree | 6c98a7fc4857adcb965ce83a374f347c2386ea69 | |
parent | f426ddbfc7d815107faea6751719fe41877ce943 (diff) | |
download | bcm5719-llvm-5e349afccbf6964e3b5122fbe392f2e8c419accb.tar.gz bcm5719-llvm-5e349afccbf6964e3b5122fbe392f2e8c419accb.zip |
Fix TargetLibraryInfoTest.ValidProto after rL357552
llvm-svn: 357559
-rw-r--r-- | llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp index f3b72b624fc..43776f607a1 100644 --- a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp +++ b/llvm/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" |