Return F's comdat, creating and attaching one when missing.

Synopsis

Declared in <llvm/Transforms/Utils/Instrumentation.h>

Comdat*
getOrCreateFunctionComdat(
    Function& F,
    Triple& T);

Return Value

F's comdat, or nullptr on failure.

Parameters

Name

Description

F

Function whose comdat is returned or created.

T

Target triple used when choosing a comdat strategy.

Created with MrDocs