Create a backend that mirrors outputs to two backends.
Synopsis
Declared in <llvm/Support/VirtualOutputBackends.h>
IntrusiveRefCntPtr<OutputBackend>
makeMirroringOutputBackend(
IntrusiveRefCntPtr<OutputBackend> Backend1,
IntrusiveRefCntPtr<OutputBackend> Backend2);
Description
Forwards OutputBackend::createFile() to both Backend1 and Backend2. Writing to such backend will create identical outputs using two different backends.
Return Value
A backend that mirrors createFile() to both backends.
Parameters
Name |
Description |
Backend1 |
First backend to receive createFile() calls. |
Backend2 |
Second backend to receive createFile() calls. |
Created with MrDocs