Displaying 7 results from an estimated 7 matches for "clear_cache_test".
2012 Jan 07
1
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
---------- Forwarded message ----------
From: Ruben Van Boxem <vanboxem.ruben at gmail.com>
Date: 2012/1/7
Subject: Re: [llvm-commits] [PATCH][Compiler-rt] Windows implementation of
mmap functionality in clear_cache_test and enable_execute_stack_test
To: Anton Korobeynikov <anton at korobeynikov.info>
2012/1/7 Anton Korobeynikov <anton at korobeynikov.info>
> Hello Ruben
>
> > Please apply at your leisure! Thanks!
> Will you please fix the code to use the same coding style as
> ever...
2012 Jan 07
3
[LLVMdev] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
...ything passes on x86.
Please apply at your leisure! Thanks!
Ruben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120107/85859e08/attachment.html>
-------------- next part --------------
Index: test/Unit/clear_cache_test.c
===================================================================
--- test/Unit/clear_cache_test.c (revision 147731)
+++ test/Unit/clear_cache_test.c (working copy)
@@ -11,12 +11,20 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
+#if defined(_WIN32)
+#include...
2012 Jan 07
0
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi Ruben,
> I see I missed some curly braces. I also modified spacing a tiny bit.
Doesn't seem so. E.g. you have:
+ if ( !VirtualQuery(addr, &b, sizeof(b)) )
+ exit(1);
+ if( !VirtualProtect(b.BaseAddress, b.RegionSize,
PAGE_EXECUTE_READWRITE, &b.Protect) )
Add space after "if". Do not put spaces after "(" and before ")". Same
for other
2012 Jan 07
2
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
...f Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120107/e7977fcc/attachment.html>
-------------- next part --------------
Index: test/Unit/clear_cache_test.c
===================================================================
--- test/Unit/clear_cache_test.c (revision 147738)
+++ test/Unit/clear_cache_test.c (working copy)
@@ -11,11 +11,20 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
+#if defined(_WIN32)
+#include...
2012 Jan 11
0
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi Ruben,
> Thanks for having patience :),
Looks ok. Do you need me to commit this for you? Or you have the commit access?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Jan 11
1
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Op 11 jan. 2012 14:00 schreef "Anton Korobeynikov" <anton at korobeynikov.info>
het volgende:
>
> Hi Ruben,
>
> > Thanks for having patience :),
> Looks ok. Do you need me to commit this for you? Or you have the commit
access?
Please commit this for me. I don't have commit access.
Thanks!
Ruben
>
> --
> With best regards, Anton Korobeynikov
>
2011 Oct 09
0
[LLVMdev] compiler-rt on Windows
Hi,
I am trying to compile/test compiler-rt for Windows (MinGW). I used Clang
and GCC, and GCC had a lot more success here. I had to build with
"mingw32-make -i" because the clear_cache_test is not written for Windows. I
can't seem to find any alternative to __clear_cache on Windows, so it might
be a nonsensical test to run.
GCC test results:
87% tests passed, 12 tests failed out of 89
Total Test time (real) = 7.52 sec
The following tests FAILED:
2 - udivmodti4_test...