This is my admittedly probably awful attempt at adding compatibility to
Idris for LLVM v3.4.*.
There is a change to the cabal file to cater for either 3.3.8.* or
There is also a change to the output function for writing the LLVM code
that needed a LLVM.General.Module.File type and not FilePath or String.
Not expecting this to be accepted but it might give someone who knows
what they are doing an idea...
I originally was trying to be 'clever' and ensure Idris could handle
both llvm 3.3.8.* and 3.4.*. This wasn't really working so I've opted
for simply 3.4.* dependencies to match the latest version of the LLVM
packages on Hackage.
There are some non-backwards compatible changes for this and I've tried
to fix some of the obvious ones but I might have missed some more subtle ones.