diff options
| author | Jyun-Yan You <jyyou@cs.nctu.edu.tw> | 2013-09-25 18:30:44 +0800 |
|---|---|---|
| committer | Jyun-Yan You <jyyou.tw@gmail.com> | 2013-10-11 08:03:34 +0800 |
| commit | 95fc31ae9bf8e9f859e6a7ceb43d645ebef33905 (patch) | |
| tree | bd858e00cf5813cc11e933a2528a3374a05d135e /src/rustllvm/RustWrapper.cpp | |
| parent | 6aa5934e2ba4ec26a3de617c3c05f113690d4086 (diff) | |
| download | rust-95fc31ae9bf8e9f859e6a7ceb43d645ebef33905.tar.gz rust-95fc31ae9bf8e9f859e6a7ceb43d645ebef33905.zip | |
improve C ABI
I borrow some ideas from clang's ABIInfo.h and TargetInfo.cpp. LLVMType is replaced with ArgType, which is similar to clang's ABIArgInfo, and I also merge attrs of FnType into it. Now ABI implementation doesn't need to insert hidden return pointer to arg_tys of FnType. Instead it is handled in foreign.rs. This change also fixes LLVM assertion failure when compiling MIPS target.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
