MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / SplitStaticCtorDtor

Function SplitStaticCtorDtor

tools/bugpoint/ExtractFunction.cpp:251–306  ·  view source on GitHub ↗

SplitStaticCtorDtor - A module was recently split into two parts, M1/M2, and M1 has all of the global variables. If M2 contains any functions that are static ctors/dtors, we need to add an llvm.global_[cd]tors global to M2, and prune appropriate entries out of M1s list.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 15

make_pairClass · 0.85
GetTorInitFunction · 0.85
getNamedGlobalMethod · 0.80
isDeclarationMethod · 0.80
hasLocalLinkageMethod · 0.80
assertFunction · 0.50
use_emptyMethod · 0.45
getInitializerMethod · 0.45
getNumOperandsMethod · 0.45
getOperandMethod · 0.45
isNullValueMethod · 0.45
getSExtValueMethod · 0.45

Tested by

no test coverage detected