set_gc (Some "shadow-stack") f works fine in a program that links to llvm.gc and calls link_gc_components.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
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.