From e982b42003cb47a7b24ba17c8b8fc836693329fd Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Tue, 14 May 2019 22:41:58 +0000 Subject: [AVR] Create a TargetInfo header. NFC Move the declarations of getTheTarget() functions into a new header in TargetInfo and make users of these functions include this new header. This fixes a layering problem. llvm-svn: 360721 --- llvm/lib/Target/AVR/AVRTargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/AVR/AVRTargetMachine.cpp') diff --git a/llvm/lib/Target/AVR/AVRTargetMachine.cpp b/llvm/lib/Target/AVR/AVRTargetMachine.cpp index fa1a117311f..a36c8b0f964 100644 --- a/llvm/lib/Target/AVR/AVRTargetMachine.cpp +++ b/llvm/lib/Target/AVR/AVRTargetMachine.cpp @@ -21,6 +21,7 @@ #include "AVR.h" #include "AVRTargetObjectFile.h" #include "MCTargetDesc/AVRMCTargetDesc.h" +#include "TargetInfo/AVRTargetInfo.h" namespace llvm { -- cgit v1.2.3