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

Function addCygMingExtraModule

tools/lli/lli.cpp:317–348  ·  view source on GitHub ↗

On Mingw and Cygwin, an external symbol named '__main' is called from the generated 'main' function to allow static intialization. To avoid linking problems with remote targets (because lli's remote target support does not currently handle external linking) we add a secondary module which defines an empty '__main' function.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 9

isArch64BitMethod · 0.80
getFunction · 0.50
APIntClass · 0.50
moveFunction · 0.50
setTargetTripleMethod · 0.45
getMethod · 0.45
SetInsertPointMethod · 0.45
CreateRetMethod · 0.45
addModuleMethod · 0.45

Tested by

no test coverage detected