r221796 - Check for IRGen output when varag is used
Fariborz Jahanian
fjahanian at apple.com
Wed Nov 12 09:54:11 PST 2014
Author: fjahanian
Date: Wed Nov 12 11:54:11 2014
New Revision: 221796
URL: http://llvm.org/viewvc/llvm-project?rev=221796&view=rev
Log:
Check for IRGen output when varag is used
in -funknown-anytype mode (in lldb use).
Modified:
cfe/trunk/test/CodeGenCXX/unknown-anytype.cpp
Modified: cfe/trunk/test/CodeGenCXX/unknown-anytype.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/unknown-anytype.cpp?rev=221796&r1=221795&r2=221796&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/unknown-anytype.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/unknown-anytype.cpp Wed Nov 12 11:54:11 2014
@@ -119,5 +119,7 @@ void test10() {
extern "C" __unknown_anytype malloc(...);
void test11() {
void *s = (void*)malloc(12);
+ // COMMON: call i8* (i32, ...)* @malloc(i32 12)
void *d = (void*)malloc(435);
+ // COMMON: call i8* (i32, ...)* @malloc(i32 435)
}
More information about the cfe-commits
mailing list