Displaying 3 results from an estimated 3 matches for "0d66579c".
2005 Jul 03
0
[LLVMdev] How do you determine whether a function isdefinedexternally to a module ?
>> If you take a look at the PowerPC asm printer, it has to do some special
>> things for external functions as well, it might give you some ideas.
>
> I will have a look at this then.
AFAICS there is nothing special here (PowerPCAsmPrinter.cpp).
Aaron
2005 Jul 03
1
[LLVMdev] How do you determine whether a functionisdefinedexternally to a module ?
...er.
Which means there must be a BasicBlock occuring on undefined/external functions.
Anyway no hurry I am off to do other tasks for a day or so.
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050704/0d66579c/attachment.html>
2005 Jul 03
4
[LLVMdev] How do you determine whether a function is definedexternally to a module ?
> Something like this should work:
>
> for (Module::iterator F = M->begin(), E = M->end(); F != E; ++F)
> if (F->isExternal())
> ... Function* F is external! ...
This is not working. For some reason there is a BasicBlock present on
undefined functions !
I am compiling the examples from llvm/test/feature, about 28 out of 34
assemble fine. Just cannot seem to get