Displaying 12 results from an estimated 12 matches for "check_functions".
2004 Nov 17
2
[LLVMdev] llvm-test portability failures
.../home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp -o Output/vehicle.ll
/usr/home/llvm/obj/tools/Debug/gccas -disable-opt Output/vehicle.ll -o Output/vehicle.rbc
/usr/home/llvm/obj/tools/Debug/gccld -link-as-library -disable-opt Output/check_functions.rbc Output/direction.rbc Output/intersection.rbc Output/light.rbc Output/main.rbc Output/roadlet.rbc Output/vehicle.rbc -o Output/city.linked.rbc
/usr/home/llvm/obj/tools/Debug/llvm-dis Output/city.linked.rbc -o Output/city.linked.rll -f
/usr/home/llvm/obj/tools/Debug/gccas Output/city.linked.rll...
2004 Nov 17
0
[LLVMdev] llvm-test portability failures
.../obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp -o Output/vehicle.ll
> /usr/home/llvm/obj/tools/Debug/gccas -disable-opt Output/vehicle.ll -o Output/vehicle.rbc
> /usr/home/llvm/obj/tools/Debug/gccld -link-as-library -disable-opt Output/check_functions.rbc Output/direction.rbc Output/intersection.rbc Output/light.rbc Output/main.rbc Output/roadlet.rbc Output/vehicle.rbc -o Output/city.linked.rbc
> /usr/home/llvm/obj/tools/Debug/llvm-dis Output/city.linked.rbc -o Output/city.linked.rll -f
> /usr/home/llvm/obj/tools/Debug/gccas Output/city.l...
2009 Nov 19
1
[PATCH] (Alternate?) locking patch
...0176,39 @@ let output_to filename =
in
close
+let perror msg = function
+ | Unix.Unix_error (err, _, _) ->
+ eprintf "%s: %s\n" msg (Unix.error_message err)
+ | exn ->
+ eprintf "%s: %s\n" msg (Printexc.to_string exn)
+
(* Main program. *)
let () =
check_functions ();
- if not (Sys.file_exists "HACKING") then (
- eprintf "\
+ let lock_fd =
+ try Unix.openfile "HACKING" [Unix.O_RDWR] 0
+ with
+ | Unix.Unix_error (Unix.ENOENT, _, _) ->
+ eprintf "\
You are probably running this from the wrong directory.
Run it...
2009 Aug 19
1
[PATCH libguestfs] avoid build failure due to Haskell keyword clash
...("modprobe", (RErr, [String "module"]), 194, [],
+ ("modprobe", (RErr, [String "modulename"]), 194, [],
[InitNone, Always, TestRun [["modprobe"; "ext2"]]],
"load a kernel module",
"\
@@ -4050,7 +4050,35 @@ let check_functions () =
if n = "i" || n = "n" then
failwithf "%s has a param/ret called 'i' or 'n', which will cause some conflicts in the generated code" name;
if n = "argv" || n = "args" then
- failwithf "%s...
2010 Jul 07
1
[PATCH] hivex: add hivex_set_value api call and ocaml/perl bindings, tests
...-459,6 +467,7 @@ let name_of_argt = function
| ANode n | AValue n | AString n | AStringNullable n -> n
| AOpenFlags | AUnusedFlags -> "flags"
| ASetValues -> "values"
+ | ASetValue -> "val"
(* Check function names etc. for consistency. *)
let check_functions () =
@@ -806,6 +815,7 @@ and generate_c_prototype ?(extern = false) name style =
| AString n | AStringNullable n -> pr "const char *%s" n
| AOpenFlags | AUnusedFlags -> pr "int flags"
| ASetValues -> pr "size_t nr_values, const hive_set_value *...
2010 Jul 03
1
[PATCH] hivex: add hivex_set_value api call
...-459,6 +467,7 @@ let name_of_argt = function
| ANode n | AValue n | AString n | AStringNullable n -> n
| AOpenFlags | AUnusedFlags -> "flags"
| ASetValues -> "values"
+ | ASetValue -> "val"
(* Check function names etc. for consistency. *)
let check_functions () =
@@ -806,6 +815,7 @@ and generate_c_prototype ?(extern = false) name style =
| AString n | AStringNullable n -> pr "const char *%s" n
| AOpenFlags | AUnusedFlags -> pr "int flags"
| ASetValues -> pr "size_t nr_values, const hive_set_value *...
2004 Nov 17
0
[LLVMdev] llvm-test portability failures
Ignore the missing malloc.h errors. I screwed up badly. I was undoing my alloca.h hack and removed the wrong file.
On Tue, 16 Nov 2004 23:29:43 -0800
Jeff Cohen <jeffc at jolt-lang.org> wrote:
> After going through 17000+ lines of output, I come up with the following...
>
> ===========================================
>
> In file included from
2010 Jul 03
1
[PATCH] hivex: add hivex_set_value api call and perl bindings, tests
...-459,6 +467,7 @@ let name_of_argt = function
| ANode n | AValue n | AString n | AStringNullable n -> n
| AOpenFlags | AUnusedFlags -> "flags"
| ASetValues -> "values"
+ | ASetValue -> "val"
(* Check function names etc. for consistency. *)
let check_functions () =
@@ -806,6 +815,7 @@ and generate_c_prototype ?(extern = false) name style =
| AString n | AStringNullable n -> pr "const char *%s" n
| AOpenFlags | AUnusedFlags -> pr "int flags"
| ASetValues -> pr "size_t nr_values, const hive_set_value *...
2004 Nov 17
2
[LLVMdev] llvm-test portability failures
After going through 17000+ lines of output, I come up with the following...
===========================================
In file included from /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:26:
/usr/include/sys/timeb.h:43: error: `time_t' does not name a type
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...then loop2 (j+1)
- else -1
- ) else
- i (* found *)
+ if j < sublen then (
+ if s.[i+j] = sub.[j] then loop2 (j+1)
+ else -1
+ ) else
+ i (* found *)
in
let r = loop2 0 in
if r = -1 then loop (i+1) else r
@@ -3772,9 +3772,9 @@ let check_functions () =
let rec loop i =
if i >= len then false
else (
- let c = str.[i] in
- if c >= 'A' && c <= 'Z' then true
- else loop (i+1)
+ let c = str.[i] in
+ if c >= 'A' && c <= 'Z' then true
+ else loop...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan,
Sorry for the delay. It's great that you are working on MergeFunctions
as well and I agree, we should definitely try to combine our efforts to
improve MergeFunctions.
Just to give you some context, the pass (with the similar function
merging patch) is already being used in a production setting. From my
point of view, it would be better if we focus on improving its
capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...0.04 463017 0 0.05 463017
cdjpeg.ll 4 7876 0 0.01 7843 0 0.01 7843
cfrac.ll 5 41611 0 0.01 41584 0 0.01 41584
changraph.ll 5 131968 0 0.02 131935 0 0.02 101238
channel.ll 4 28216 0 0.01 28193 0 0.01 28193
charsequence.ll 4 11437 0 0.01 11410 0 0.01 11410
checkfile.ll 2 4464 0 0.01 4438 0 0.01 4438
check_functions.ll 31 55439 0 0.02 55410 0 0.02 53091
checkpen.ll 2 40913 0 0.01 40880 0 0.00 40880
ch.ll 7 37798 0 0.01 37776 0 0.01 37776
cholesky.ll 12 23832 0 0.01 23780 0 0.01 23780
chomp.ll 23 62942 0 0.01 62925 0 0.01 62925
chooseEntry.ll 1 5370 0 0.01 5345 0 0.01 5345
circle.ll 1 1997 0 0.01 1968 0 0.01 19...