Commit 8bb9548a authored by's avatar 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
import Reg
#include "ghcautoconf.h"
#include "stg/MachRegs.h"
#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