llvm::LTOModule::isBitcodeFile

Returns 'true' if the file at path contains LLVM bitcode.

Synopsis

Declared in <llvm/LTO/legacy/LTOModule.h>

static
bool
isBitcodeFile(StringRef path);

Return Value

True if the file contains LLVM bitcode.

Parameters

NameDescription
pathPath of the file to inspect.