Displaying 1 result from an estimated 1 matches for "functionisdefinedextern".
2005 Jul 03
1
[LLVMdev] How do you determine whether a functionisdefinedexternally to a module ?
I have tried the following :-
if (!M.empty())
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
if ( !I->getIntrinsicID() && I->getEntryBlock().empty())
O << "EXTERN " << Mang->getValueName(I) << " : NEAR" << "\n";
Based upon :-
virtual bool Function::isExternal() const { return