Table of Contents

Class MonoAotLLVMGenerator

Namespace
BenchmarkDotNet.Toolchains.MonoAotLLVM
Assembly
BenchmarkDotNet.dll
public class MonoAotLLVMGenerator : CsProjGenerator, IGenerator, IEquatable<CsProjGenerator>
Inheritance
MonoAotLLVMGenerator
Implements
Inherited Members

Constructors

MonoAotLLVMGenerator(string, string, string, string, string, MonoAotCompilerMode)

public MonoAotLLVMGenerator(string targetFrameworkMoniker, string cliPath, string packagesPath, string customRuntimePack, string aotCompilerPath, MonoAotCompilerMode aotCompilerMode)

Parameters

targetFrameworkMoniker string
cliPath string
packagesPath string
customRuntimePack string
aotCompilerPath string
aotCompilerMode MonoAotCompilerMode

Methods

GenerateProject(BuildPartition, ArtifactsPaths, ILogger)

generates .csproj file with a reference to the project with benchmarks

protected override void GenerateProject(BuildPartition buildPartition, ArtifactsPaths artifactsPaths, ILogger logger)

Parameters

buildPartition BuildPartition
artifactsPaths ArtifactsPaths
logger ILogger

GetBinariesDirectoryPath(string, string)

returns a path where executable should be found after the build (usually \bin)

protected override string GetBinariesDirectoryPath(string buildArtifactsDirectoryPath, string configuration)

Parameters

buildArtifactsDirectoryPath string
configuration string

Returns

string

GetExecutablePath(string, string)

protected override string GetExecutablePath(string binariesDirectoryPath, string programName)

Parameters

binariesDirectoryPath string
programName string

Returns

string