projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f426ddb
)
Fix TargetLibraryInfoTest.ValidProto after rL357552
author
Sam Clegg
<sbc@chromium.org>
Wed, 3 Apr 2019 02:30:35 +0000
(
02:30
+0000)
committer
Sam Clegg
<sbc@chromium.org>
Wed, 3 Apr 2019 02:30:35 +0000
(
02:30
+0000)
llvm-svn: 357559
llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
index
f3b72b6
..
43776f6
100644
(file)
--- 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"