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

Unified Diff: crosstest/test_global.h

Issue 435353002: Subzero: Fix and clean up some cross tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix newlines and filename Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/test_fcmp.def ('k') | crosstest/test_global.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_global.h
diff --git a/crosstest/test_global.h b/crosstest/test_global.h
index dc7ff75bf88edf68a7ddcc361345194843cfe9ad..be62b351ac0611af4093037b45ce011ffc1a0039 100644
--- a/crosstest/test_global.h
+++ b/crosstest/test_global.h
@@ -1,2 +1,23 @@
+//===- subzero/crosstest/test_global.h - Test prototypes --------*- C++ -*-===//
+//
+// The Subzero Code Generator
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file declares the function prototypes used for crosstesting global
+// variable access operations.
+//
+//===----------------------------------------------------------------------===//
+
+// The driver and the test program may be compiled by different
+// versions of clang, with different standard libraries that have
+// different definitions of int8_t. Specifically, int8_t may be
+// typedef'd as either 'char' or 'signed char', which mangle to
+// different strings. Avoid int8_t and use an explicit myint8_t.
+typedef signed char myint8_t;
+
size_t getNumArrays();
const uint8_t *getArray(size_t WhichArray, size_t &Len);
« no previous file with comments | « crosstest/test_fcmp.def ('k') | crosstest/test_global.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698