<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi folks --</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The comments in Function.h for
Function::getArgumentList() state that the argument list is empty for external
functions. This entails (I think) that it is not possible to determine the
contents of the argument list of functions for which LLVM has only seen a
forward declaration, for a given compilation unit. Is this
correct?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If this is the case, is there any way around this?
I'm in a situation where it'd be I have only declarations of a bunch of
(library) functions, and need to determine the size (in bytes) of their operands
for a particular target. If my understanding of the aforementioned comment
is correct, then it seems that the entire library would need to be witnessed by
LLVM in order for me to obtain this information.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>TIA for any advice,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-j</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>