Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix llvm-assertion: don't load ghost types
As I understand it, LLVM doesn't support 0-sized structs (ghost types), which julia makes significant use of. This fixes an incorrect behavior in the julia compiler accidentally attempting to instantiate such 0-sized structs. When using a debug build of LLVM, this fails with an assertion error, but failed silently on standard LLVM.
- Loading branch information