identifying external symbols for libcalls.

How do I determine if an external symbol is meant for a libcall?

Our AsmPrinter needs to print more information about libcalls, so we need to distinguish them from other ordinary external symbols.

Thanks,

Sanjiv