[dylan-lang/opendylan] 7d4320: Bug 7458: Improve Darwin GC root handling for TLVs

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <54e076c2bbb1e_3fc53fbfff07129c6567@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 7d432045bf2c4a45db76d8d67193362a6b787278
      https://github.com/dylan-lang/opendylan/commit/7d432045bf2c4a45db76d8d67193362a6b787278
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/llvm-runtime-init.c

  Log Message:
  -----------
  Bug 7458: Improve Darwin GC root handling for TLVs

* sources/lib/run-time/llvm-runtime-init.c
  (_Init_Run_Time): Register for both TLV allocated and TLV deallocated
   callbacks. Remove deallocated TLV areas as GC roots on thread exit.


  Commit: bf486720998e9f978d34799719f6d66afa65c674
      https://github.com/dylan-lang/opendylan/commit/bf486720998e9f978d34799719f6d66afa65c674
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/boehm-collector.c
    M sources/lib/run-time/collector.c
    M sources/lib/run-time/malloc-collector.c
    M sources/lib/run-time/mps-collector.c

  Log Message:
  -----------
  run-time: Add an inlining semantics portability shim

* sources/lib/run-time/collector.c
  (EXTERN_INLINE, STATIC_INLINE): Add portability shims for differing
   inline semantics between C99 and the old MSVC and gcc compilers.
  (fill_*_mem, untraced_fill_*_mem, class_wrapper, polling_threadQ,
   polling_individual_threadsQ, update_allocation_counter, current_gc_teb,
   wrapper_class): Utilize the new inlining portability shims.

* sources/lib/run-time/mps-collector.c
  (update_runtime_thread_count, MMReserveObject, MMCommitObject,
   MMReserveLeaf, MMCommitLeaf, MMReserveExactAWL, MMCommitExactAWL,
   MMReserveWeakAWL, MMCommitWeakAWL, MMReserveWrapper,
   MMCommitWrapper): Utilize the new inlining portability shims.

* sources/lib/run-time/boehm-collector.c
  (update_runtime_thread_count, MMAllocateObject, MMAllocateLeaf,
   MMAllocateExactAWL, MMAllocateWeakAWL, MMAllocateWrapper): Utilize
   the new inlining portability shims.

* sources/lib/run-time/malloc-collector.c
  (update_runtime_thread_count, MMAllocateObject, MMAllocateLeaf,
   MMAllocateExactAWL, MMAllocateWeakAWL, MMAllocateWrapper): Utilize
   the new inlining portability shims.


  Commit: 83dea50e5fbfd003378dad70d0d87184dfc3f304
      https://github.com/dylan-lang/opendylan/commit/83dea50e5fbfd003378dad70d0d87184dfc3f304
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/llvm-runtime.h

  Log Message:
  -----------
  Bug 7458: Define DBYTE in llvm-runtime.h

* sources/lib/run-time/llvm-runtime.h (DBYTE): New typedef.


  Commit: 4449b732a362cc7e4e6fa26b1855bc105bd73bd0
      https://github.com/dylan-lang/opendylan/commit/4449b732a362cc7e4e6fa26b1855bc105bd73bd0
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/jamfiles/posix-build.jam
    M sources/lib/run-time/Makefile.in

  Log Message:
  -----------
  Bug 7458: Generate unwind information for non-local exits

* sources/jamfiles/posix-build.jam: Add -fexceptions to CCFLAGS when
  compiling for the LLVM back-end.

* sources/lib/run-time/Makefile.in: Add -fexceptions to LLVM_CFLAGS
  when compiling the runtime for use with the LLVM back-end.


  Commit: 59020b3921f18bf4fc0006040b80c9cc20ce8ca4
      https://github.com/dylan-lang/opendylan/commit/59020b3921f18bf4fc0006040b80c9cc20ce8ca4
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/Makefile.in
    A sources/lib/run-time/llvm-nlx.c

  Log Message:
  -----------
  Bug 7458: Implement run-time for LLVM non-local exits

* sources/lib/run-time/llvm-nlx.c: New file.
  (get_ULEB128, get_SLEB128, get_encoded_size, get_encoded,
   opendylan_exception_cleanup, handler_found): New auxiliary functions.
  (primitive_nlx): New auxiliary primitive implementation for initiating
   unwind operations.
  (__opendylan_personality_v0): New personality function for dispatching
   exceptions and cleanups to Dylan <bind-exit> and <unwind-protect>
   frames.

* sources/lib/run-time/Makefile.in
  (LLVM_RUNTIME_OBJS): Add llvm-nlx.o to the LLVM run-time build.


  Commit: 07672d8807f0343c2adfc70ba8bd4dd2436accf4
      https://github.com/dylan-lang/opendylan/commit/07672d8807f0343c2adfc70ba8bd4dd2436accf4
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/Makefile.in
    A sources/lib/run-time/llvm-posix-os.c

  Log Message:
  -----------
  Bug 7458: Add initial POSIX interface primitives

* sources/lib/run-time/llvm-posix-os.c: New file.
  (primitive_exit_application): New primitive function implementation.

* sources/lib/run-time/Makefile.in
  (LLVM_RUNTIME_OBJS): Add llvm-posix-os.o to the LLVM run-time build.


  Commit: 025a5cc08173c857199459b74ceaea2f673f6f66
      https://github.com/dylan-lang/opendylan/commit/025a5cc08173c857199459b74ceaea2f673f6f66
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/Makefile.in
    A sources/lib/run-time/llvm-posix-threads.c

  Log Message:
  -----------
  Bug 7458: Implement threads run-time for POSIX platforms

* sources/lib/run-time/llvm-posix-threads.c: New source file
  implementing thread-local variable handling, operating-system threads
  primitives handling, and synchronization primitives.

* sources/lib/run-time/Makefile.in
  (LLVM_RUNTIME_OBJS): Reference llvm-posix-threads.c


  Commit: 518b406dbe92b69571070b5a8c1682819b937d26
      https://github.com/dylan-lang/opendylan/commit/518b406dbe92b69571070b5a8c1682819b937d26
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/Makefile.in

  Log Message:
  -----------
  run-time: Define OPEN_DYLAN_BACKEND_{C,HARP} as appropriate

* sources/lib/run-time/Makefile.in
  (HARP_CFLAGS, C_CFLAGS): New variables for defining OPEN_DYLAN_BACKEND_HARP
   and OPEN_DYLAN_BACKEND_C preprocessor macros when building the respective
   run-time support.


  Commit: ddafc0292bae8e5eb95820d15d7f23a8bf37dd27
      https://github.com/dylan-lang/opendylan/commit/ddafc0292bae8e5eb95820d15d7f23a8bf37dd27
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/lib/run-time/exceptions.c

  Log Message:
  -----------
  run-time: Only build dylan_callin_handler for the HARP run-time

* sources/lib/run-time/exceptions.c (dylan_callin_handler): Only
  compile when OPEN_DYLAN_BACKEND_HARP is defined.


  Commit: 5a6e2158d4dcb1fb7d23e7b71a7206a3a92aff09
      https://github.com/dylan-lang/opendylan/commit/5a6e2158d4dcb1fb7d23e7b71a7206a3a92aff09
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M sources/jamfiles/posix-build.jam

  Log Message:
  -----------
  Bug 7458: Link the LLVM runtime into programs

* sources/jamfiles/posix-build.jam
  (RTOBJS_llvm): Point at the LLVM runtime library archive.


  Commit: 1e0b8b8f42d27df1b8b443bd080f5b2e1899c9c5
      https://github.com/dylan-lang/opendylan/commit/1e0b8b8f42d27df1b8b443bd080f5b2e1899c9c5
  Author: Peter S. Housel <[email protected]>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M Makefile.in

  Log Message:
  -----------
  Bug 7458: Add a check-llvm top level make target

* Makefile.in (check-llvm): New target for running test suites compiled
  with the LLVM back-end.


  Commit: 8be8dd086d63101dbcaf1dcaa94e09ce1d6f6fdb
      https://github.com/dylan-lang/opendylan/commit/8be8dd086d63101dbcaf1dcaa94e09ce1d6f6fdb
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-02-15 (Sun, 15 Feb 2015)

  Changed paths:
    M Makefile.in
    M sources/jamfiles/posix-build.jam
    M sources/lib/run-time/Makefile.in
    M sources/lib/run-time/boehm-collector.c
    M sources/lib/run-time/collector.c
    M sources/lib/run-time/exceptions.c
    A sources/lib/run-time/llvm-nlx.c
    A sources/lib/run-time/llvm-posix-os.c
    A sources/lib/run-time/llvm-posix-threads.c
    M sources/lib/run-time/llvm-runtime-init.c
    M sources/lib/run-time/llvm-runtime.h
    M sources/lib/run-time/malloc-collector.c
    M sources/lib/run-time/mps-collector.c

  Log Message:
  -----------
  Merge pull request #864 from housel/llvm-runtime

Build script and C code support for the LLVM run-time


Compare: https://github.com/dylan-lang/opendylan/compare/51c1f772ba0a...8be8dd086d63

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.