Commit 8bb9548a authored by docks.cattlemen.stephen@blacksapphire.com's avatar docks.cattlemen.stephen@blacksapphire.com Committed by Simon Marlow
Browse files

MachRegs.h requires ghcautoconf.h to be included before it (#7591)

Because, in the case of ARM processors, it needs to know what ARM
variant is being used. This patch fixes that in
includes/CodeGen.Platform.hs, otherwise there is a mismatch between
the compiler and llvm.
parent b0fad0c5
...@@ -6,6 +6,7 @@ import Panic ...@@ -6,6 +6,7 @@ import Panic
#endif #endif
import Reg import Reg
#include "ghcautoconf.h"
#include "stg/MachRegs.h" #include "stg/MachRegs.h"
#if MACHREGS_i386 || MACHREGS_x86_64 #if MACHREGS_i386 || MACHREGS_x86_64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment