Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: crosstest/test_calling_conv_main.cpp

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes tests & make format Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « crosstest/test_calling_conv.cpp ('k') | crosstest/test_cast.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/crosstest/test_calling_conv_main.cpp - Driver for tests ----===// 1 //===- subzero/crosstest/test_calling_conv_main.cpp - Driver for tests ----===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file contains the driver for cross testing the compatibility of 10 // This file contains the driver for cross testing the compatibility of
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ++Failures; 155 ++Failures;
156 std::cout << "testCallee(Caller=" << Funcs[f].CallerName 156 std::cout << "testCallee(Caller=" << Funcs[f].CallerName
157 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum 157 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum
158 << ")\nsz =" << bufAsString(BufSz) 158 << ")\nsz =" << bufAsString(BufSz)
159 << "\nllc=" << bufAsString(BufLlc) << "\n"; 159 << "\nllc=" << bufAsString(BufLlc) << "\n";
160 } 160 }
161 } 161 }
162 } 162 }
163 } 163 }
164 164
165 #ifdef X8664_STACK_HACK
166 extern "C" int wrapped_main(int argc, char *argv[]) {
167 #else // !defined(X8664_STACK_HACK)
165 int main(int argc, char *argv[]) { 168 int main(int argc, char *argv[]) {
169 #endif // X8664_STACK_HACK
166 size_t TotalTests = 0; 170 size_t TotalTests = 0;
167 size_t Passes = 0; 171 size_t Passes = 0;
168 size_t Failures = 0; 172 size_t Failures = 0;
169 173
170 testCaller(TotalTests, Passes, Failures); 174 testCaller(TotalTests, Passes, Failures);
171 testCallee(TotalTests, Passes, Failures); 175 testCallee(TotalTests, Passes, Failures);
172 176
173 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes 177 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes
174 << " Failures=" << Failures << "\n"; 178 << " Failures=" << Failures << "\n";
175 179
176 return Failures; 180 return Failures;
177 } 181 }
OLDNEW
« no previous file with comments | « crosstest/test_calling_conv.cpp ('k') | crosstest/test_cast.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698