Files
revng-revng/share/revng/pipelines/isolate-translate.yml
Antonio Frighetto f73b9876fa FunctionIsolation: execute CollectCFG earlier
This change makes sure that CollectCFG is always intertwined
with FunctionIsolation, as it needs to run before the latter
executed. To avoid possible rearrangements on the pipeline
in the future, CollectCFG pass is now registered within FI.
2023-02-06 09:37:23 +01:00

39 lines
1.1 KiB
YAML

#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
Containers:
- Name: cross-relations.yml
Type: BinaryCrossRelations
Role: CrossRelations
Branches:
- From: Lift
Steps:
- Name: Isolate
Pipes:
- Type: LLVMPipe
UsedContainers: [module.ll]
Passes: [isolate, invoke-isolated-functions, attach-debug-info]
- Type: ProcessCallGraph
UsedContainers: [module.ll, cross-relations.yml]
Artifacts:
Container: module.ll
Kind: Isolated
SingleTargetFilename: module_isolated.ll
- Name: RecompileIsolated
Pipes:
- Type: LinkSupport
UsedContainers: [module.ll]
- Type: LLVMPipe
UsedContainers: [module.ll]
Passes: [O2]
EnabledWhen: [O2]
- Type: CompileIsolated
UsedContainers: [module.ll, object.o]
- Type: LinkForTranslation
UsedContainers: [input, object.o, output]
Artifacts:
Container: output
Kind: Translated
SingleTargetFilename: isolated_translated_binary