[llvm] r294427 - [AVR] Add missing #includes
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 00:52:47 PST 2017
Author: dylanmckay
Date: Wed Feb 8 02:52:46 2017
New Revision: 294427
URL: http://llvm.org/viewvc/llvm-project?rev=294427&view=rev
Log:
[AVR] Add missing #includes
A previous change seems to have remove #includes from header files. This
fixes the build.
Modified:
llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp
llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp?rev=294427&r1=294426&r2=294427&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp (original)
+++ llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp Wed Feb 8 02:52:46 2017
@@ -1,5 +1,7 @@
#include "AVRELFStreamer.h"
+#include "llvm/MC/MCSubtargetInfo.h"
+#include "llvm/MC/SubtargetFeature.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/FormattedStream.h"
Modified: llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp?rev=294427&r1=294426&r2=294427&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp Wed Feb 8 02:52:46 2017
@@ -25,6 +25,7 @@
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
+#include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h"
#define DEBUG_TYPE "mccodeemitter"
More information about the llvm-commits
mailing list