HomePhabricator

[ORC] Add support for dumping objects to the C API.

Authored by lhames on Jun 18 2021, 2:48 AM.

Description

[ORC] Add support for dumping objects to the C API.

Provides ObjectTransformLayer APIs, a getter to access the
ObjectTransformLayer member of LLJIT, and the DumpObjects utility
to make construction of a dump-to-disk transform easy.

An example showing how the new APIs can be used has been added in
llvm/examples/OrcV2Examples/OrcV2CBindingsDumpObjects.

Details

Committed
lhamesJun 18 2021, 3:56 AM
Parents
rG93183a41b962: Revert D104028 "[llvm][Inliner] Add an optional PriorityInlineOrder"
Branches
Unknown
Tags
Unknown