This is an archive of the discontinued LLVM Phabricator instance.

[OCaml] introduce link_gc_components
AbandonedPublic

Authored by artagnon on Dec 24 2014, 5:38 PM.

Details

Summary

set_gc (Some "shadow-stack") f works fine in a program that links to llvm.gc and calls link_gc_components.

Diff Detail

Event Timeline

artagnon updated this revision to Diff 17629.Dec 24 2014, 5:38 PM
artagnon retitled this revision from to [OCaml] introduce link_gc_components.
artagnon updated this object.
artagnon edited the test plan for this revision. (Show Details)
artagnon added a reviewer: whitequark.
artagnon added a subscriber: Unknown Object (MLST).
artagnon updated this revision to Diff 17630.Dec 24 2014, 7:53 PM

The issue with making it part of the llvm package is that it gets
executed as soon as the package is loaded. The closest equivalent to
including an optional header in the C++ world is compiling with an
optional package in the OCaml world.

Make a minimal gc package that should be filled in with details later,
as the gc develops.

artagnon updated this revision to Diff 17663.Dec 28 2014, 5:19 PM

Make it a little less minimalist to cover more usecases, add missing C
file.

artagnon updated this object.Dec 29 2014, 2:53 PM
artagnon edited reviewers, added: dblaikie, MatzeB; removed: void.
artagnon updated this revision to Diff 17683.Dec 29 2014, 2:53 PM

Rebase onto latest master.

artagnon edited reviewers, added: reames, sanjoy; removed: MatzeB, dblaikie.Jan 4 2015, 4:31 PM
artagnon abandoned this revision.Jan 22 2015, 11:19 AM