[LLVMdev] Using LLVM with clang for a homebrew kernel

Jochen Wilhelmy j.wilhelmy at arcor.de
Thu Apr 8 06:27:20 PDT 2010


Hi!

In the llvm-doc is the following:

Also, since many platforms define their ABIs in terms of C, and since 
LLVM is lower-level than C, front-ends currently must emit 
platform-specific IR in order to have the result conform to the platform 
ABI.

Can you give an example for this except system calls (which e.g. on 
windows use
a different calling convention)?
If you write your own operating system then how does llvm-IR depend on 
the ABI?

-Jochen




More information about the llvm-dev mailing list