ΒΆLLVMOrcDumpObjectsRef LLVMOrcCreateDumpObjects(
    const char* DumpDir,
    const char* IdentifierOverride)

Description

Create a DumpObjects instance. DumpDir specifies the path to write dumped objects to. DumpDir may be empty in which case files will be dumped to the working directory. IdentifierOverride specifies a file name stem to use when dumping objects. If empty then each MemoryBuffer's identifier will be used (with a .o suffix added if not already present). If an identifier override is supplied it will be used instead, along with an incrementing counter (since all buffers will use the same identifier, the resulting files will be named <ident >.o, <ident >.2.o, <ident >.3.o, and so on). IdentifierOverride should not contain an extension, as a .o suffix will be added by DumpObjects.

Declared at: llvm/include/llvm-c/Orc.h:1272

Parameters

const char* DumpDir
const char* IdentifierOverride