FunctionCompileExportByteArray

FunctionCompileExportByteArray[func]

gives a byte array of binary LLVM code obtained by compiling the function func.

FunctionCompileExportByteArray[func,"format"]

gives a byte array of binary code in the specified format.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Generate a compiled version of a function and return the result as a byte array:

Options  (1)

TargetSystem  (1)

The default setting of Automatic generates code for the machine architecture on which it is being run:

TargetSystem can be set to the $SystemID of the desired platform:

Introduced in 2019
 (12.0)