Displaying 1 result from an estimated 1 matches for "foo_xyz".
2005 Apr 16
2
[LLVMdev] New primitive type for 32/64 compatibility?
...aries, respectively. Only care about Linux for now, to keep
things simple/sane.
Looking at the assembly manual, the width of every first class type except
pointer, bool and label is well defined. Let's say I have a C program
which calls into libfoo, like this:
{
long num;
... num = .....
foo_xyz(num);
}
In other words, in order to call this function correctly you have to know
that the width of the first parameter changes between 32bit and 64bit
hosts. Right now I don't see any way to represent this in LLVM
assembly. Playing with the web demo shows that a "long foo" is compil...