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

Side by Side Diff: crosstest/test_calling_conv_main.cpp

Issue 1706883003: Subzero. Removes X8664_STACK_HACK from the crosstests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: removes code setting the stack size Created 4 years, 10 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_bitmanip_main.cpp ('k') | crosstest/test_cast_main.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)
168 int main(int argc, char *argv[]) { 165 int main(int argc, char *argv[]) {
169 #endif // X8664_STACK_HACK
170 size_t TotalTests = 0; 166 size_t TotalTests = 0;
171 size_t Passes = 0; 167 size_t Passes = 0;
172 size_t Failures = 0; 168 size_t Failures = 0;
173 169
174 testCaller(TotalTests, Passes, Failures); 170 testCaller(TotalTests, Passes, Failures);
175 testCallee(TotalTests, Passes, Failures); 171 testCallee(TotalTests, Passes, Failures);
176 172
177 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes 173 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes
178 << " Failures=" << Failures << "\n"; 174 << " Failures=" << Failures << "\n";
179 175
180 return Failures; 176 return Failures;
181 } 177 }
OLDNEW
« no previous file with comments | « crosstest/test_bitmanip_main.cpp ('k') | crosstest/test_cast_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698