Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #46 (closed enhancement: fixed)

Opened 7 months ago

Last modified 1 month ago

return small struct and array via multiple-return-values

Reported by: lindquist Assigned to:
Priority: minor Milestone:
Version: Keywords: codegen
Cc:

Description

LLVM 2.3 support returning multiple values from functions, this would be great for arrays and small structs.

Change History

08/02/08 10:28:42 changed by lindquist

extern(C) function would need special (current) behaviour to comply with C ABI. llvm-gcc always returns structs through an 'sret' hidden argument.

Might be some special cases like complex numbers.

10/22/08 11:43:22 changed by lindquist

  • status changed from new to closed.
  • resolution set to fixed.

Struct return information, expect for on Windows, have been removed from the ABI. Seperate tickets exist for remaining cases.

Copyright © 2008, LLVMDC Development Team.