Closed mcourteaux closed 3 months ago
Thanks for the fix, but this needs to be conditionalized for multiple versions of LLVM. I'll upload a patch.
No it doesn't, afaik. The getDataLayout()
was always there. The build bots confirm that it works.
No it doesn't, afaik. The
getDataLayout()
was always there. The build bots confirm that it works.
I agree it's better to avoid #if
when it's not necessary.
This fixes the latest change in LLVM where the
DataLayout
constructor that accepts aModule
is removed. https://github.com/llvm/llvm-project/commit/75c7bca740935a0cca462e28475dd6b046a6872cCC @steven-johnson