Home | History | Annotate | Download | only in ExecutionEngine

Lines Matching refs:script

27 #include "Script.h"
54 return wrap(new bcc::Script());
58 extern "C" void bccDisposeScript(BCCScriptRef script) {
60 delete unwrap(script);
64 extern "C" int bccRegisterSymbolCallback(BCCScriptRef script,
68 return unwrap(script)->registerSymbolCallback(pFn, pContext);
72 extern "C" int bccGetError(BCCScriptRef script) {
74 return unwrap(script)->getError();
77 extern "C" int bccReadBC(BCCScriptRef script,
83 return unwrap(script)->addSourceBC(0, resName, bitcode, bitcodeSize, flags);
87 extern "C" int bccReadModule(BCCScriptRef script,
92 return unwrap(script)->addSourceModule(0, unwrap(module), flags);
96 extern "C" int bccReadFile(BCCScriptRef script,
100 return unwrap(script)->addSourceFile(0, path, flags);
104 extern "C" int bccLinkBC(BCCScriptRef script,
110 return unwrap(script)->addSourceBC(1, resName, bitcode, bitcodeSize, flags);
114 extern "C" int bccLinkFile(BCCScriptRef script,
118 return unwrap(script)->addSourceFile(1, path, flags);
122 extern "C" void bccMarkExternalSymbol(BCCScriptRef script, char const *name) {
124 unwrap(script)->markExternalSymbol(name);
128 extern "C" int bccPrepareRelocatable(BCCScriptRef script,
158 return unwrap(script)->prepareRelocatable(objPath, RM, flags);
162 extern "C" int bccPrepareSharedObject(BCCScriptRef script,
167 return unwrap(script)->prepareSharedObject(objPath, dsoPath, flags);
171 extern "C" int bccPrepareExecutable(BCCScriptRef script,
179 return unwrap(script)->prepareExecutable(cacheDir, cacheName, flags);
183 extern "C" void *bccGetFuncAddr(BCCScriptRef script, char const *funcname) {
186 void *addr = unwrap(script)->lookup(funcname);
196 extern "C" void bccGetExportVarList(BCCScriptRef script,
202 unwrap(script)->getExportVarList(varListSize, varList);
205 size_t count = unwrap(script)->getExportVarCount();
220 extern "C" void bccGetExportFuncList(BCCScriptRef script,
226 unwrap(script)->getExportFuncList(funcListSize, funcList);
229 size_t count = unwrap(script)->getExportFuncCount();
244 extern "C" void bccGetExportForEachList(BCCScriptRef script,
250 unwrap(script)->getExportForEachList(forEachListSize, forEachList);
253 size_t count = unwrap(script)->getExportForEachCount();