Parrot 6.11.0 "Fischer's Lovebird" | parrot.org/�| Log: irclog.perlgeek.de/parrot�| #parrotsketch�meeting Fridays 13:30 UTC
Set by moderator on 1 January 2015.
00:35 kid51_ joined 03:15 kid51_ joined 05:12 allison joined 05:54 allison joined 07:12 khisanth_ joined 08:37 rurban joined 10:24 rurban joined
rurban added my sketch notes to #ps one day later 11:04
dalek rrot/rurban/pasm_out: d204948 | rurban++ | config/gen/config_h/feature_h.in:
[config] support __builtin_expect LIKELY/UNLIKELY branch optimizations

add EXPECT,LIKELY,UNLIKELY macros to feature.h as in the linux kernel and perl5 probe for __builtin_expect() support in a new auto::expect configure step
Usage: if (UNLIKELY(var == 0)) fail();
Add emacs mode:c support for test_c.in files, and relax the coda test for this. Should be used in all test_c.in files.
11:37
rrot/rurban/pasm_out: bc8496b | rurban++ | / (24 files):
re-add PASM output to imcc, re-add imcpasm tests

one new IMCCompiler api method: set_to_pasm remove static output in imcc/instructions.c detect .pasm -o outfile extension add and fix old t/compilers/imcc/imcpasm/*.t tests and the pir_2*_
   Parrot::Test methods
change Parrot::Test pir_2_pasm method to use -d1000, which is equivalent
   to pasm output, just to stderr.
use new LIKELY/UNLIKELY macros
rrot/rurban/pasm_out: ac72eb8 | rurban++ | / (8 files):
enable pasm_out in parrot2, todo failing imcpasm tests

opt2 fails with changed used_once semantics: I0 = 10 is side-effecting, but *can* be removed if I0 is used only once (GH #1036), ...
rrot/rurban/pasm_out: 77ed077 | rurban++ | lib/Parrot/Test.pm:
[test] ignore TEST_PROG_ARGS -O2 for opt1.t tests
rrot/rurban/pasm_out: 1feeadf | rurban++ | compilers/imcc/debug.c:
[cage] overlong line
rrot/rurban/pasm_out: dc2415f | rurban++ | / (3 files):
[cage] update MANIFEST{,.SKIP}, .gitignore
rrot/rurban/pasm_out: ab109b5 | rurban++ | compilers/imcc/ (3 files):
[codingstd] add docs, ...
rrot/rurban/pasm_out: 34b28c1 | rurban++ | / (2 files):
[cage] imcc/embed.h

error: nonnull argument references non-pointer operand with llvm
rrot/rurban/pasm_out: f79e893 | rurban++ | / (13 files):
[imcc] rename to set_write_pasm, revamp api

Improve docs of the imcc API
pasm_out: Pass the outfile path to set_write_pasm, so that we can initialize it emit_open. Since the lexer doesn't know the outfile name check for NULL in the lexer called emit_open(). Already initialized earlier by the frontend.
The new parrot needs to store the outfile for the pasm out api.
12:47 kid51 joined 13:27 rurban joined
dalek rrot/smoke-me/afl-crash-gh1168: 6ecd1e1 | rurban++ | / (4 files):
[core] replace Parrot_pcc_get_regs_used with PCC_GET_REGS_USED

This is a minor refactor to avoid internal function calls, but not effective for the fast runcore. Only called with --debugging or on -t (trace).
Parrot_pcc_get_regs_used is an exported API
13:46
rrot/smoke-me/afl-crash-gh1168: b1c6be4 | rurban++ | t/compilers/imcc/reg/alloc.t:
[test] add test for reg alloc crash GH #1168

detected by afl-fuzz. See docs/dev/fuzzing.pod
14:00 travis-ci joined
travis-ci parrot/parrot#1446 (smoke-me/afl-crash-gh1168 - b1c6be4 : Reini Urban): The build was broken. 14:00
Change view : github.com/parrot/parrot/compare/6...c6be42efd8
Build details : travis-ci.org/parrot/parrot/builds/46549034
14:00 travis-ci left 16:09 rurban joined
dalek rrot/smoke-me/afl-crash-gh1168: 9dc9f67 | rurban++ | t/compilers/imcc/reg/alloc.t:
[test] minimize testcase for GH #1168
16:58
17:10 travis-ci joined
travis-ci parrot/parrot#1447 (smoke-me/afl-crash-gh1168 - 9dc9f67 : Reini Urban): The build was fixed. 17:10
Change view : github.com/parrot/parrot/compare/b...c9f67b8986
Build details : travis-ci.org/parrot/parrot/builds/46562073
17:10 travis-ci left
dalek rrot/smoke-me/afl-crash-gh1168: cabc1cc | rurban++ | t/compilers/imcc/reg/alloc.t:
[test] minimize testcase for GH #1168
17:34
17:51 travis-ci joined
travis-ci parrot/parrot#1448 (smoke-me/afl-crash-gh1168 - cabc1cc : Reini Urban): The build was broken. 17:51
Change view : github.com/parrot/parrot/compare/9...bc1ccde661
Build details : travis-ci.org/parrot/parrot/builds/46564819
17:51 travis-ci left 18:13 FROGGS_ joined
rurban found the fix for the last afl crash. end inside methods 18:51
dalek rrot/smoke-me/afl-crash-gh1168: 7690786 | rurban++ | / (3 files):
[imcc] fix end in methods GH #1168

This is the last fix for all afl-fuzz detected crashes.
And `end` op inside a user-defined method will exit a runloop unproperly. The old ctx will be corrupted. Replace it with an equivalent `returncc` op, which does set the continuation and context properly to end the current runloop.
  `exit` would be an alternative, but we documented `end` to halt the interpreter,
which is fresh inside certain runloops. I documented this case as unspecified behaviour. It crashed before, now it returns.
19:27
19:40 travis-ci joined
travis-ci parrot/parrot#1449 (smoke-me/afl-crash-gh1168 - 7690786 : Reini Urban): The build was fixed. 19:40
Change view : github.com/parrot/parrot/compare/c...90786febd6
Build details : travis-ci.org/parrot/parrot/builds/46573299
19:40 travis-ci left 20:34 sue joined, sue left