diff options
author | Stephan Herhut <herhut@google.com> | 2021-03-17 12:16:30 +0100 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2021-03-17 12:58:52 +0100 |
commit | 5837fdc4ccc4d61e9eb7b6d310760c0be2e52124 (patch) | |
tree | dfabfc7d303561a764683e1b2e7a963aa895d66a /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | ecfa87453113dad6bd9430606a06f7ab728cc21b (diff) | |
download | llvm-5837fdc4ccc4d61e9eb7b6d310760c0be2e52124.zip llvm-5837fdc4ccc4d61e9eb7b6d310760c0be2e52124.tar.gz llvm-5837fdc4ccc4d61e9eb7b6d310760c0be2e52124.tar.bz2 |
[mlir][llvm] Pass struct results as parameter in c wrapper
Returning structs directly in LLVM does not necessarily align with the C ABI of
the platform. This might happen to work on Linux but for small structs this
breaks on Windows. With this change, the wrappers work platform independently.
Differential Revision: https://reviews.llvm.org/D98725
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions