Sink COFF.h MC include into .cpp files
authorReid Kleckner <rnk@google.com>
Thu, 3 Sep 2015 16:41:50 +0000 (16:41 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 3 Sep 2015 16:41:50 +0000 (16:41 +0000)
commit412db355b3cd812050950ff7fef0f462c33a7aa5
treea32ab986666d4ff3f15c6ec85805e2d4223e3ab4
parent36f233809ef3957ec26fedd79836247cc90254b7
Sink COFF.h MC include into .cpp files

This prevents MC clients from getting COFF.h, which conflicts with
winnt.h macros. Also a minor IWYU cleanup. Now the only public headers
including COFF.h are in Object, and they actually need it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246784 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSectionCOFF.h
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/MC/MCContext.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCSectionCOFF.cpp
lib/Target/X86/X86TargetObjectFile.cpp