[LLVMdev] How do you determine whether a function is defined externally to a module ?

Aaron Gray angray at beeb.net
Sun Jul 3 15:05:11 PDT 2005


How do you determine whether a function is defined externally ?

Basically I want a list of external functions but cannot seem to get one.

e.g. I want to create the following list for a module

EXTERN _printf : NEAR
EXTERN _malloc : NEAR
EXTERN _an_external_fn : NEAR

I have tried all the obvious permutations but cannot seem to get only the extrnally defined symbols.

Help,

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050703/1047572a/attachment.html>


More information about the llvm-dev mailing list