[LLVMdev] about llvm2.7's inline assembly

Duncan Sands baldrick at free.fr
Mon Jul 12 01:05:15 PDT 2010

Hi Anton,

>> this comes directly from your system headers (/usr/include/bits/select.h)
>> and as such doesn't really have anything to do with llvm-gcc:
> iirc there were some fixincludes hacks for FD_ZERO thing. Maybe are
> presented presented in one version and does not - in another, thus the
> difference...

IIRC the fixincludes hack was done so that the asm would not crash the compiler,
the problem being that "int" (32 bits) is being passed to the asm even on 64
bit machines; it should be "long".  But the asm itself is coming from glibc.



More information about the llvm-dev mailing list