[test-suite] r202697 - XCore target: add support to build MultiSource/Benchmarks/MallocBench/gs
Robert Lytton
robert at xmos.com
Mon Mar 3 03:22:39 PST 2014
Author: rlytton
Date: Mon Mar 3 05:22:38 2014
New Revision: 202697
URL: http://llvm.org/viewvc/llvm-project?rev=202697&view=rev
Log:
XCore target: add support to build MultiSource/Benchmarks/MallocBench/gs
Modified:
test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/iscan.c
test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/zfile.c
Modified: test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/iscan.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/iscan.c?rev=202697&r1=202696&r2=202697&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/iscan.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/iscan.c Mon Mar 3 05:22:38 2014
@@ -32,6 +32,10 @@ copies. */
#include "scanchar.h"
#include <stdint.h>
+#ifdef __XS1B__
+#define UINTPTR_MAX UINT32_MAX
+#endif
+
/* Array packing flag */
int array_packing;
Modified: test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/zfile.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/zfile.c?rev=202697&r1=202696&r2=202697&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/zfile.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MallocBench/gs/zfile.c Mon Mar 3 05:22:38 2014
@@ -32,6 +32,10 @@ copies. */
#include "gxdevice.h"
#include "gxdevmem.h"
+#ifdef __XS1B__
+#define PATH_MAX 4096
+#endif
+
/* Forward references */
int zreadline_from(P4(byte *, uint, uint *, stream *));
int lib_file_open(P3(byte *, uint, ref *));
More information about the llvm-commits
mailing list