Skip to content

Notes on struct passing

ihnorton edited this page Feb 3, 2013 · 2 revisions

Notes about ffi in other languages

Docs:

http://llvm.org/docs/LangRef.html#structure-type

Useful threads:

http://llvm.1065342.n5.nabble.com/ABI-how-to-let-the-backend-know-that-an-aggregate-should-be-allocated-on-stack-td50345.html#a50446

http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/049404.html

http://llvm.1065342.n5.nabble.com/Problem-returning-aggregate-struct-complex-number-by-value-td6816.html

http://llvm.1065342.n5.nabble.com/Passing-structures-by-value-on-Windows-td40439.html

http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/049733.html

http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043753.html